From f5fd94d62a4bc725d4b658869a7cab48c068860d Mon Sep 17 00:00:00 2001 From: AnHardt Date: Tue, 3 Feb 2015 08:56:00 +0100 Subject: [PATCH] Kick suspicious loop an win 72 bytes. No visible impact. --- Marlin/dogm_lcd_implementation.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Marlin/dogm_lcd_implementation.h b/Marlin/dogm_lcd_implementation.h index ffc323c5a5..ee8c44d633 100644 --- a/Marlin/dogm_lcd_implementation.h +++ b/Marlin/dogm_lcd_implementation.h @@ -107,15 +107,6 @@ static void lcd_implementation_init() u8g.setRot270(); // Rotate screen by 270° #endif - // FIXME: whats the purpose of the box? Maybe clear screen? - u8g.firstPage(); - do { - u8g.setFont(u8g_font_6x10_marlin); - u8g.setColorIndex(1); - u8g.drawBox (0, 0, u8g.getWidth(), u8g.getHeight()); - u8g.setColorIndex(1); - } while(u8g.nextPage()); - // Show splashscreen int offx = (u8g.getWidth() - START_BMPWIDTH) / 2; int offy = (u8g.getHeight() - 18 - START_BMPHEIGHT) / 2;