|
@@ -2108,9 +2108,10 @@ void MainMenu::showMainMenu()
|
2108
|
2108
|
}
|
2109
|
2109
|
}
|
2110
|
2110
|
clearIfNecessary();
|
2111
|
|
- for(int8_t line=0;line<LCD_HEIGHT;line++)
|
|
2111
|
+ uint8_t line=0;
|
|
2112
|
+ for(int8_t i=lineoffset;i<lineoffset+LCD_HEIGHT;i++)
|
2112
|
2113
|
{
|
2113
|
|
- switch(line)
|
|
2114
|
+ switch(i)
|
2114
|
2115
|
{
|
2115
|
2116
|
case ItemM_watch:
|
2116
|
2117
|
MENUITEM( lcdprintPGM(MSG_WATCH) , BLOCK;status=Main_Status;beepshort(); ) ;
|
|
@@ -2164,6 +2165,7 @@ void MainMenu::showMainMenu()
|
2164
|
2165
|
SERIAL_ERRORLNPGM(MSG_SERIAL_ERROR_MENU_STRUCTURE);
|
2165
|
2166
|
break;
|
2166
|
2167
|
}
|
|
2168
|
+ line++;
|
2167
|
2169
|
}
|
2168
|
2170
|
updateActiveLines(3,encoderpos);
|
2169
|
2171
|
}
|