瀏覽代碼

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 年之前
父節點
當前提交
fb3c30e24c
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp 查看文件

@@ -444,7 +444,7 @@ uint16_t max_display_update_time = 0;
444 444
   inline void lcd_wait_for_homing() {
445 445
     no_reentrance = true;
446 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 450
   void lcd_return_to_status() { lcd_goto_screen(lcd_status_screen); }

Loading…
取消
儲存