Implement Clear LCD display

This commit is contained in:
xoreo
2023-11-13 14:05:07 +01:00
parent c528c12b85
commit f324756293
2 changed files with 13 additions and 0 deletions

View File

@@ -95,3 +95,7 @@ void lcd_draw_bmp(const void* p_src, uint32_t x_pos, uint32_t y_pos, uint32_t x_
LOG_INFO(TAG, "DMA2D poll");
HAL_DMA2D_PollForTransfer(&hDma2dHandler2, 10);
}
void lcd_clear(uint32_t color){
BSP_LCD_Clear(color);
}