|
@@ -322,10 +322,10 @@ class MenuItem_bool : public MenuEditItemBase {
|
322
|
322
|
* _menuLineNr is the menu item to draw and process
|
323
|
323
|
* _thisItemNr is the index of each MENU_ITEM or STATIC_ITEM
|
324
|
324
|
*/
|
325
|
|
-#define SCREEN_OR_MENU_LOOP(IS_MENU) \
|
326
|
|
- scroll_screen(IS_MENU ? 1 : LCD_HEIGHT, IS_MENU); \
|
327
|
|
- int8_t _menuLineNr = encoderTopLine, _thisItemNr; \
|
328
|
|
- bool _skipStatic = IS_MENU; UNUSED(_thisItemNr); \
|
|
325
|
+#define SCREEN_OR_MENU_LOOP(IS_MENU) \
|
|
326
|
+ scroll_screen(IS_MENU ? 1 : LCD_HEIGHT, IS_MENU); \
|
|
327
|
+ int8_t _menuLineNr = encoderTopLine, _thisItemNr = 0; \
|
|
328
|
+ bool _skipStatic = IS_MENU; UNUSED(_thisItemNr); \
|
329
|
329
|
for (int8_t _lcdLineNr = 0; _lcdLineNr < LCD_HEIGHT; _lcdLineNr++, _menuLineNr++) { \
|
330
|
330
|
_thisItemNr = 0
|
331
|
331
|
|