Reduce display updates for dogm displays

In 'if (encoderPastThreshold || LCD_CLICKED)' lcdDrawUpdate was not set.

'lcd_status_update_delay'-loop was not effective in  function
lcd_status_screen().
The loop prevented the update of the status screen but not the displays
update.
Shifted the loop into lcd_update().
This commit is contained in:
AnHardt
2015-04-04 22:02:24 +02:00
parent 418d22d7b3
commit 340d165a9c
2 changed files with 18 additions and 23 deletions

View File

@@ -318,9 +318,9 @@ static void lcd_implementation_status_screen() {
lcd_setFont(FONT_STATUSMENU);
#ifdef USE_SMALL_INFOFONT
u8g.drawBox(0,30,127,10);
u8g.drawBox(0,30,128,10);
#else
u8g.drawBox(0,30,127,9);
u8g.drawBox(0,30,128,9);
#endif
u8g.setColorIndex(0); // white on black
u8g.setPrintPos(2,XYZ_BASELINE);