|
@@ -1743,15 +1743,15 @@ static void clean_up_after_endstop_or_probe_move() {
|
1743
|
1743
|
#if HAS_PROBING_PROCEDURE || HOTENDS > 1 || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED) || ENABLED(NOZZLE_CLEAN_FEATURE) || ENABLED(NOZZLE_PARK_FEATURE) || ENABLED(DELTA_AUTO_CALIBRATION)
|
1744
|
1744
|
|
1745
|
1745
|
bool axis_unhomed_error(const bool x/*=true*/, const bool y/*=true*/, const bool z/*=true*/) {
|
1746
|
|
-#if ENABLED(HOME_AFTER_DEACTIVATE)
|
1747
|
|
- const bool xx = x && !axis_known_position[X_AXIS],
|
1748
|
|
- yy = y && !axis_known_position[Y_AXIS],
|
1749
|
|
- zz = z && !axis_known_position[Z_AXIS];
|
1750
|
|
-#else
|
1751
|
|
- const bool xx = x && !axis_homed[X_AXIS],
|
1752
|
|
- yy = y && !axis_homed[Y_AXIS],
|
1753
|
|
- zz = z && !axis_homed[Z_AXIS];
|
1754
|
|
-#endif
|
|
1746
|
+ #if ENABLED(HOME_AFTER_DEACTIVATE)
|
|
1747
|
+ const bool xx = x && !axis_known_position[X_AXIS],
|
|
1748
|
+ yy = y && !axis_known_position[Y_AXIS],
|
|
1749
|
+ zz = z && !axis_known_position[Z_AXIS];
|
|
1750
|
+ #else
|
|
1751
|
+ const bool xx = x && !axis_homed[X_AXIS],
|
|
1752
|
+ yy = y && !axis_homed[Y_AXIS],
|
|
1753
|
+ zz = z && !axis_homed[Z_AXIS];
|
|
1754
|
+ #endif
|
1755
|
1755
|
if (xx || yy || zz) {
|
1756
|
1756
|
SERIAL_ECHO_START;
|
1757
|
1757
|
SERIAL_ECHOPGM(MSG_HOME " ");
|