Changed function name LCD_DrawBmp to WDA_LCD_DrawBmp

This commit is contained in:
xoreo
2023-11-09 13:26:54 +01:00
parent 4ef7514248
commit 8c71d3a4e2

View File

@@ -34,7 +34,7 @@ void display_bmp_array(const uint8_t *bmp_data, uint16_t x_pos, uint16_t y_pos,
BSP_LCD_DrawBitmap(x_pos, y_pos, (uint8_t *)bmp_data); BSP_LCD_DrawBitmap(x_pos, y_pos, (uint8_t *)bmp_data);
} }
void LCD_DrawBmp(const void *pSrc, uint32_t xPos, uint32_t yPos, uint32_t xSize, uint32_t ySize, uint32_t ColorMode) void WDA_LCD_DrawBmp(const void *pSrc, uint32_t xPos, uint32_t yPos, uint32_t xSize, uint32_t ySize, uint32_t ColorMode)
{ {
uint32_t address = hLtdcHandler.LayerCfg[1].FBStartAdress + (((480*yPos) + xPos)*(4)); uint32_t address = hLtdcHandler.LayerCfg[1].FBStartAdress + (((480*yPos) + xPos)*(4));