More constraint on axis_unhomed_error

This commit is contained in:
Scott Lahteine
2017-05-14 15:57:37 -05:00
parent 40d95a4e23
commit 267f77b18b
4 changed files with 19 additions and 21 deletions

View File

@ -329,7 +329,7 @@
}
// Don't allow auto-leveling without homing first
if (!code_seen('N') && axis_unhomed_error(true, true, true)) // Warning! Use of 'N' flouts established standards.
if (!(code_seen('N') && code_value_bool()) && axis_unhomed_error()) // Warning! Use of 'N' flouts established standards.
home_all_axes();
if (g29_parameter_parsing()) return; // abort if parsing the simple parameters causes a problem,