Browse Source

Kick suspicious loop an win 72 bytes.

No visible impact.
pull/1/head
AnHardt 10 years ago
parent
commit
f5fd94d62a
  1. 9
      Marlin/dogm_lcd_implementation.h

9
Marlin/dogm_lcd_implementation.h

@ -107,15 +107,6 @@ static void lcd_implementation_init()
u8g.setRot270(); // Rotate screen by 270° u8g.setRot270(); // Rotate screen by 270°
#endif #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 // Show splashscreen
int offx = (u8g.getWidth() - START_BMPWIDTH) / 2; int offx = (u8g.getWidth() - START_BMPWIDTH) / 2;
int offy = (u8g.getHeight() - 18 - START_BMPHEIGHT) / 2; int offy = (u8g.getHeight() - 18 - START_BMPHEIGHT) / 2;

Loading…
Cancel
Save