Browse Source

Move menu selection past static items in 1 screen

Scott Lahteine 8 years ago
parent
commit
77cf648ed3
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp View File

@@ -339,7 +339,7 @@ uint16_t max_display_update_time = 0;
339 339
     if (_menuLineNr == _thisItemNr) { \
340 340
       if (_skipStatic && encoderLine <= _thisItemNr) { \
341 341
         encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
342
-        lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \
342
+        ++encoderLine; \
343 343
       } \
344 344
       if (lcdDrawUpdate) \
345 345
         lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(LABEL), ## __VA_ARGS__); \
@@ -2621,7 +2621,7 @@ KeepDrawing:
2621 2621
         lcd_implementation_hotend_status(_lcdLineNr); \
2622 2622
         if (_skipStatic && encoderLine <= _thisItemNr) { \
2623 2623
           encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
2624
-          lcdDrawUpdate = LCDVIEW_CALL_REDRAW_NEXT; \
2624
+          ++encoderLine; \
2625 2625
         } \
2626 2626
         else \
2627 2627
           lcdDrawUpdate = LCDVIEW_CALL_NO_REDRAW; \

Loading…
Cancel
Save