Browse Source

Require homing of Z before G29

Scott Lahteine 9 years ago
parent
commit
a9926b71a4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

3176
     #endif
3176
     #endif
3177
 
3177
 
3178
     // Don't allow auto-leveling without homing first
3178
     // Don't allow auto-leveling without homing first
3179
-    if (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS]) {
3179
+    if (!axis_homed[X_AXIS] || !axis_homed[Y_AXIS] || !axis_homed[Z_AXIS]) {
3180
       axis_unhomed_error();
3180
       axis_unhomed_error();
3181
       return;
3181
       return;
3182
     }
3182
     }

Loading…
Cancel
Save