|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
#include "../feature/bedlevel/bedlevel.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if HAS_AXIS_UNHOMED_ERR && (ENABLED(ULTRA_LCD) || ENABLED(EXTENSIBLE_UI))
|
|
|
|
|
#if ENABLED(ULTRA_LCD) || ENABLED(EXTENSIBLE_UI)
|
|
|
|
|
#include "../lcd/ultralcd.h"
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -1036,9 +1036,7 @@ void prepare_move_to_destination() {
|
|
|
|
|
set_current_from_destination();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if HAS_AXIS_UNHOMED_ERR
|
|
|
|
|
|
|
|
|
|
bool axis_unhomed_error(const bool x/*=true*/, const bool y/*=true*/, const bool z/*=true*/) {
|
|
|
|
|
bool axis_unhomed_error(const bool x/*=true*/, const bool y/*=true*/, const bool z/*=true*/) {
|
|
|
|
|
#if ENABLED(HOME_AFTER_DEACTIVATE)
|
|
|
|
|
const bool xx = x && !TEST(axis_known_position, X_AXIS),
|
|
|
|
|
yy = y && !TEST(axis_known_position, Y_AXIS),
|
|
|
|
@ -1051,9 +1049,9 @@ void prepare_move_to_destination() {
|
|
|
|
|
if (xx || yy || zz) {
|
|
|
|
|
SERIAL_ECHO_START();
|
|
|
|
|
SERIAL_ECHOPGM(MSG_HOME " ");
|
|
|
|
|
if (xx) SERIAL_ECHOPGM(MSG_X);
|
|
|
|
|
if (yy) SERIAL_ECHOPGM(MSG_Y);
|
|
|
|
|
if (zz) SERIAL_ECHOPGM(MSG_Z);
|
|
|
|
|
if (xx) SERIAL_CHAR('X');
|
|
|
|
|
if (yy) SERIAL_CHAR('Y');
|
|
|
|
|
if (zz) SERIAL_CHAR('Z');
|
|
|
|
|
SERIAL_ECHOLNPGM(" " MSG_FIRST);
|
|
|
|
|
|
|
|
|
|
#if ENABLED(ULTRA_LCD) || ENABLED(EXTENSIBLE_UI)
|
|
|
|
@ -1062,9 +1060,7 @@ void prepare_move_to_destination() {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // HAS_AXIS_UNHOMED_ERR
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Homing bump feedrate (mm/s)
|
|
|
|
|