Make BOOTSCREEN_TIMEOUT generally available
This commit is contained in:
@ -219,9 +219,6 @@ bool MarlinUI::detected() { return true; }
|
||||
|
||||
// Show the Marlin bootscreen, with the u8g loop and delays
|
||||
void MarlinUI::show_marlin_bootscreen() {
|
||||
#ifndef BOOTSCREEN_TIMEOUT
|
||||
#define BOOTSCREEN_TIMEOUT 2500
|
||||
#endif
|
||||
constexpr uint8_t pages = two_part ? 2 : 1;
|
||||
for (uint8_t q = pages; q--;) {
|
||||
draw_marlin_bootscreen(q == 0);
|
||||
|
Reference in New Issue
Block a user