Browse Source

Merge pull request #6557 from thinkyhead/rc_hotend_status_item

Keep refreshing LCD if hotend status is on-screen
Scott Lahteine 7 years ago
parent
commit
f4239e62b1
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp View File

@@ -2880,15 +2880,15 @@ void kill_screen(const char* lcd_msg) {
2880 2880
     // Portions from STATIC_ITEM...
2881 2881
     #define HOTEND_STATUS_ITEM() do { \
2882 2882
       if (_menuLineNr == _thisItemNr) { \
2883
-        if (lcdDrawUpdate) \
2883
+        if (lcdDrawUpdate) { \
2884 2884
           lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(MSG_FILAMENT_CHANGE_NOZZLE), false, true); \
2885
-        lcd_implementation_hotend_status(_lcdLineNr); \
2885
+          lcd_implementation_hotend_status(_lcdLineNr); \
2886
+        } \
2886 2887
         if (_skipStatic && encoderLine <= _thisItemNr) { \
2887 2888
           encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
2888 2889
           ++encoderLine; \
2889 2890
         } \
2890
-        else \
2891
-          lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING; \
2891
+        lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING; \
2892 2892
       } \
2893 2893
       ++_thisItemNr; \
2894 2894
     } while(0)

Loading…
Cancel
Save