Fix for broken MBL
LCD call was waiting forever, causing the system to hang.
This commit is contained in:
parent
4d4745c0eb
commit
c40fe2113c
|
@ -441,12 +441,6 @@ uint16_t max_display_update_time = 0;
|
||||||
lcd_goto_screen(old_screen);
|
lcd_goto_screen(old_screen);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void lcd_wait_for_homing() {
|
|
||||||
no_reentrance = true;
|
|
||||||
while (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) idle();
|
|
||||||
no_reentrance = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }
|
void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }
|
||||||
|
|
||||||
void lcd_save_previous_screen() {
|
void lcd_save_previous_screen() {
|
||||||
|
@ -1297,8 +1291,7 @@ KeepDrawing:
|
||||||
LCDVIEW_CALL_NO_REDRAW
|
LCDVIEW_CALL_NO_REDRAW
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
if (no_reentrance) return;
|
if (axis_homed[X_AXIS] && axis_homed[Y_AXIS] && axis_homed[Z_AXIS])
|
||||||
lcd_wait_for_homing();
|
|
||||||
lcd_goto_screen(_lcd_level_bed_homing_done);
|
lcd_goto_screen(_lcd_level_bed_homing_done);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@ The latest Release Candidate lives in the ["RC" branch](https://github.com/Marli
|
||||||
|
|
||||||
## Recent Changes
|
## Recent Changes
|
||||||
- RCBugFix
|
- RCBugFix
|
||||||
|
- Fixed broken MBL
|
||||||
|
|
||||||
- RC8 - 06 Dec 2016
|
- RC8 - 06 Dec 2016
|
||||||
- Major performance improvement for Graphical LCDs
|
- Major performance improvement for Graphical LCDs
|
||||||
|
|
Loading…
Reference in a new issue