Add draw BMP function (lcd_draw_bmp_img)
This commit is contained in:
@@ -96,6 +96,10 @@ void lcd_draw_raw_img(const void* p_src, uint32_t x_pos, uint32_t y_pos, uint32_
|
||||
HAL_DMA2D_PollForTransfer(&hDma2dHandler2, 10);
|
||||
}
|
||||
|
||||
void lcd_draw_bmp_img(uint32_t x_pos, uint32_t y_pos, uint8_t* bmp_buff){
|
||||
BSP_LCD_DrawBitmap(x_pos, y_pos, bmp_buff);
|
||||
}
|
||||
|
||||
void lcd_clear(uint32_t color){
|
||||
BSP_LCD_Clear(color);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user