Browse Source

Fix lcd_wait_for_homing causing menu to block

As a showcase function for how to do waiting in the lcd menu, this function should be preserved.
Scott Lahteine 8 years ago
parent
commit
fb3c30e24c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

444
   inline void lcd_wait_for_homing() {
444
   inline void lcd_wait_for_homing() {
445
     no_reentrance = true;
445
     no_reentrance = true;
446
     while (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) idle();
446
     while (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) idle();
447
-    no_reentrance = true;
447
+    no_reentrance = false;
448
   }
448
   }
449
 
449
 
450
   void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }
450
   void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }

Loading…
Cancel
Save