From 0a9fbd62a376549caeca0ce50ac54917e8d68bf8 Mon Sep 17 00:00:00 2001 From: Ludy <1@astra-g.org> Date: Sun, 1 Sep 2019 10:32:16 +0200 Subject: [PATCH] fixes the double calling of the Marlin boot logo The logo will appear twice, as you can see by enable `BOOT_MARLIN_LOGO_ANIMATED` --- Marlin/src/lcd/dogm/ultralcd_DOGM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/lcd/dogm/ultralcd_DOGM.cpp b/Marlin/src/lcd/dogm/ultralcd_DOGM.cpp index a3793d203d45..56f0d440493a 100644 --- a/Marlin/src/lcd/dogm/ultralcd_DOGM.cpp +++ b/Marlin/src/lcd/dogm/ultralcd_DOGM.cpp @@ -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());