Changed function name LCD_DrawBmp to WDA_LCD_DrawBmp
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user