mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
Tweak animated draw call
This commit is contained in:
parent
7ad5208267
commit
a07c4af393
@ -211,8 +211,7 @@ bool MarlinUI::detected() { return true; }
|
|||||||
#else
|
#else
|
||||||
constexpr millis_t d = MARLIN_BOOTSCREEN_FRAME_TIME;
|
constexpr millis_t d = MARLIN_BOOTSCREEN_FRAME_TIME;
|
||||||
LOOP_L_N(f, COUNT(marlin_bootscreen_animation)) {
|
LOOP_L_N(f, COUNT(marlin_bootscreen_animation)) {
|
||||||
const u8g_pgm_uint8_t * const bmp = (u8g_pgm_uint8_t*)pgm_read_ptr(&marlin_bootscreen_animation[f]);
|
draw_bootscreen_bmp((uint8_t*)pgm_read_ptr(&marlin_bootscreen_animation[f]));
|
||||||
draw_bootscreen_bmp(bmp);
|
|
||||||
if (d) safe_delay(d);
|
if (d) safe_delay(d);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user