- Change to lcd_draw_bmp_img
- Add moc for this function
This commit is contained in:
2023-11-14 17:30:08 +01:00
parent bc03f9bc67
commit c9eedde905
3 changed files with 7 additions and 2 deletions

View File

@@ -144,8 +144,8 @@ void tftp_close(void* handle) {
if (handle == &virt_file[1]) {
// TODO: waiting on pr of tim to merge so we can use the bmp lcd function
lcd_clear(LCD_COLOR_BLACK);
lcd_display_text((uint8_t*)"show me what you got virtImage.raw", 0, 0, LCD_COLOR_BLACK, LCD_COLOR_WHITE, LCD_FONT16);
//lcd_draw_bmp_img((uint8_t*)virt_file[1].data, 0, 0);
//lcd_display_text((uint8_t*)"show me what you got virtImage.raw", 0, 0, LCD_COLOR_BLACK, LCD_COLOR_WHITE, LCD_FONT16);
lcd_draw_bmp_img((uint8_t*)virt_file[1].data, 0, 0);
}
if (handle == &virt_file[2]) {