Have G28 do a refresh of the display

This commit is contained in:
Scott Lahteine 2017-05-29 15:15:13 -05:00
parent 50ab9c2e04
commit b2d3c8aedd
2 changed files with 6 additions and 0 deletions

View File

@ -3798,6 +3798,8 @@ inline void gcode_G28(const bool always_home_all) {
tool_change(old_tool_index, 0, true);
#endif
lcd_refresh();
report_current_position();
#if ENABLED(DEBUG_LEVELING_FEATURE)

View File

@ -46,6 +46,9 @@
void kill_screen(const char* lcd_msg);
bool lcd_detected(void);
extern uint8_t lcdDrawUpdate;
inline void lcd_refresh() { lcdDrawUpdate = LCDVIEW_CLEAR_CALL_REDRAW; }
#if HAS_BUZZER
void lcd_buzz(long duration, uint16_t freq);
#endif
@ -158,6 +161,7 @@
inline void lcd_buttons_update() {}
inline void lcd_reset_alert_level() {}
inline bool lcd_detected() { return true; }
inline void lcd_refresh() {}
#define LCD_MESSAGEPGM(x) NOOP
#define LCD_ALERTMESSAGEPGM(x) NOOP