Browse Source

bug fix for scrolling of main menu when using SMALL_DISPLAY (2 lines only)

pull/1/head
MaikStohn 12 years ago
parent
commit
159ae90874
  1. 6
      Marlin/ultralcd.pde

6
Marlin/ultralcd.pde

@ -2108,9 +2108,10 @@ void MainMenu::showMainMenu()
}
}
clearIfNecessary();
for(int8_t line=0;line<LCD_HEIGHT;line++)
uint8_t line=0;
for(int8_t i=lineoffset;i<lineoffset+LCD_HEIGHT;i++)
{
switch(line)
switch(i)
{
case ItemM_watch:
MENUITEM( lcdprintPGM(MSG_WATCH) , BLOCK;status=Main_Status;beepshort(); ) ;
@ -2164,6 +2165,7 @@ void MainMenu::showMainMenu()
SERIAL_ERRORLNPGM(MSG_SERIAL_ERROR_MENU_STRUCTURE);
break;
}
line++;
}
updateActiveLines(3,encoderpos);
}

Loading…
Cancel
Save