Browse Source

Merge pull request #6557 from thinkyhead/rc_hotend_status_item

Keep refreshing LCD if hotend status is on-screen
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
f4239e62b1
  1. 8
      Marlin/ultralcd.cpp

8
Marlin/ultralcd.cpp

@ -2880,15 +2880,15 @@ void kill_screen(const char* lcd_msg) {
// Portions from STATIC_ITEM...
#define HOTEND_STATUS_ITEM() do { \
if (_menuLineNr == _thisItemNr) { \
if (lcdDrawUpdate) \
if (lcdDrawUpdate) { \
lcd_implementation_drawmenu_static(_lcdLineNr, PSTR(MSG_FILAMENT_CHANGE_NOZZLE), false, true); \
lcd_implementation_hotend_status(_lcdLineNr); \
lcd_implementation_hotend_status(_lcdLineNr); \
} \
if (_skipStatic && encoderLine <= _thisItemNr) { \
encoderPosition += ENCODER_STEPS_PER_MENU_ITEM; \
++encoderLine; \
} \
else \
lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING; \
lcdDrawUpdate = LCDVIEW_KEEP_REDRAWING; \
} \
++_thisItemNr; \
} while(0)

Loading…
Cancel
Save