Merge branch 'main' into LCD_API

This commit is contained in:
2023-11-13 17:47:41 +01:00

View File

@@ -96,7 +96,7 @@ void lcd_draw_raw_img(const void* p_src, uint32_t x_pos, uint32_t y_pos, uint32_
HAL_DMA2D_PollForTransfer(&hDma2dHandler2, 10); HAL_DMA2D_PollForTransfer(&hDma2dHandler2, 10);
} }
void lcd_draw_bmp_img(uint8_t* bmp_buff, uint32_t x_pos, uint32_t y_pos){ void lcd_draw_bmp_img(uint8_t* bmp_buff, uint32_t x_pos, uint32_t y_pos) {
BSP_LCD_DrawBitmap(x_pos, y_pos, bmp_buff); BSP_LCD_DrawBitmap(x_pos, y_pos, bmp_buff);
} }
@@ -109,6 +109,6 @@ void lcd_draw_img_from_fs_with_name(const char* name, uint32_t x_pos, uint32_t y
} }
} }
void lcd_clear(uint32_t color){ void lcd_clear(uint32_t color) {
BSP_LCD_Clear(color); BSP_LCD_Clear(color);
} }