|
@@ -160,14 +160,14 @@ bool MarlinUI::detected() { return true; }
|
160
|
160
|
#endif
|
161
|
161
|
u8g.firstPage();
|
162
|
162
|
do { draw_custom_bootscreen(f); } while (u8g.nextPage());
|
163
|
|
- if (frame_time) early_safe_delay(frame_time);
|
|
163
|
+ if (frame_time) safe_delay(frame_time);
|
164
|
164
|
}
|
165
|
165
|
|
166
|
166
|
#ifndef CUSTOM_BOOTSCREEN_TIMEOUT
|
167
|
167
|
#define CUSTOM_BOOTSCREEN_TIMEOUT 2500
|
168
|
168
|
#endif
|
169
|
169
|
#if CUSTOM_BOOTSCREEN_TIMEOUT
|
170
|
|
- early_safe_delay(CUSTOM_BOOTSCREEN_TIMEOUT);
|
|
170
|
+ safe_delay(CUSTOM_BOOTSCREEN_TIMEOUT);
|
171
|
171
|
#endif
|
172
|
172
|
}
|
173
|
173
|
#endif // SHOW_CUSTOM_BOOTSCREEN
|
|
@@ -226,7 +226,7 @@ bool MarlinUI::detected() { return true; }
|
226
|
226
|
constexpr millis_t frame_time = MARLIN_BOOTSCREEN_FRAME_TIME;
|
227
|
227
|
LOOP_L_N(f, COUNT(marlin_bootscreen_animation)) {
|
228
|
228
|
draw_bootscreen_bmp((uint8_t*)pgm_read_ptr(&marlin_bootscreen_animation[f]));
|
229
|
|
- if (frame_time) early_safe_delay(frame_time);
|
|
229
|
+ if (frame_time) safe_delay(frame_time);
|
230
|
230
|
}
|
231
|
231
|
#endif
|
232
|
232
|
}
|
|
@@ -235,7 +235,7 @@ bool MarlinUI::detected() { return true; }
|
235
|
235
|
void MarlinUI::show_marlin_bootscreen() {
|
236
|
236
|
for (uint8_t q = bootscreen_pages; q--;) {
|
237
|
237
|
draw_marlin_bootscreen(q == 0);
|
238
|
|
- if (q) early_safe_delay((BOOTSCREEN_TIMEOUT) / bootscreen_pages);
|
|
238
|
+ if (q) safe_delay((BOOTSCREEN_TIMEOUT) / bootscreen_pages);
|
239
|
239
|
}
|
240
|
240
|
}
|
241
|
241
|
|