Browse Source

Kick suspicious loop an win 72 bytes.

No visible impact.
AnHardt 10 years ago
parent
commit
f5fd94d62a
1 changed files with 0 additions and 9 deletions
  1. 0
    9
      Marlin/dogm_lcd_implementation.h

+ 0
- 9
Marlin/dogm_lcd_implementation.h View File

107
 	u8g.setRot270();	// Rotate screen by 270°
107
 	u8g.setRot270();	// Rotate screen by 270°
108
 #endif
108
 #endif
109
 	
109
 	
110
-  // FIXME: whats the purpose of the box? Maybe clear screen?
111
-	u8g.firstPage();
112
-  do {
113
-		u8g.setFont(u8g_font_6x10_marlin);
114
-		u8g.setColorIndex(1);
115
-		u8g.drawBox (0, 0, u8g.getWidth(), u8g.getHeight());
116
-		u8g.setColorIndex(1);
117
-	} while(u8g.nextPage());
118
-
119
   // Show splashscreen
110
   // Show splashscreen
120
   int offx = (u8g.getWidth() - START_BMPWIDTH) / 2;
111
   int offx = (u8g.getWidth() - START_BMPWIDTH) / 2;
121
   int offy = (u8g.getHeight() - 18 - START_BMPHEIGHT) / 2;
112
   int offy = (u8g.getHeight() - 18 - START_BMPHEIGHT) / 2;

Loading…
Cancel
Save