mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-22 12:33:11 +00:00
fix deprecated
This commit is contained in:
parent
8938cbfc6e
commit
8dad9468d5
1 changed files with 1 additions and 1 deletions
|
@ -545,7 +545,7 @@ void canvas_draw_icon_bitmap(
|
|||
x += canvas->offset_x;
|
||||
y += canvas->offset_y;
|
||||
uint8_t* icon_data = NULL;
|
||||
compress_icon_decode(canvas->compress_icon, icon_get_data(icon), &icon_data);
|
||||
compress_icon_decode(canvas->compress_icon, icon_get_frame_data(icon, 0), &icon_data);
|
||||
u8g2_DrawXBM(&canvas->fb, x, y, w, h, icon_data);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue