Skip to content

Commit

Permalink
fixes the double calling of the Marlin boot logo
Browse files Browse the repository at this point in the history
The logo will appear twice, as you can see by enable `BOOT_MARLIN_LOGO_ANIMATED`
  • Loading branch information
Ludy87 committed Sep 1, 2019
1 parent ee444d7 commit 0a9fbd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/dogm/ultralcd_DOGM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ bool MarlinUI::detected() { return true; }
#ifndef BOOTSCREEN_TIMEOUT
#define BOOTSCREEN_TIMEOUT 2500
#endif
for (uint8_t q = 2; q--;) {
for (uint8_t q = 1; q--;) {
#if DISABLED(BOOT_MARLIN_LOGO_ANIMATED)
u8g.firstPage();
do { draw_marlin_bootscreen(q == 0); } while (u8g.nextPage());
Expand Down

0 comments on commit 0a9fbd6

Please sign in to comment.