set_axis_not_trusted => set_axis_never_homed

This commit is contained in:
Scott Lahteine 2020-08-27 14:48:42 -05:00
parent 757ab484ac
commit d10f7eae31
4 changed files with 7 additions and 7 deletions

View File

@ -176,7 +176,7 @@ void GcodeSuite::G35() {
probe.stow(); probe.stow();
// After this operation the Z position needs correction // After this operation the Z position needs correction
set_axis_not_trusted(Z_AXIS); set_axis_never_homed(Z_AXIS);
// Home Z after the alignment procedure // Home Z after the alignment procedure
process_subcommands_now_P(PSTR("G28Z")); process_subcommands_now_P(PSTR("G28Z"));

View File

@ -346,7 +346,7 @@ void GcodeSuite::G34() {
#if ENABLED(HOME_AFTER_G34) #if ENABLED(HOME_AFTER_G34)
// After this operation the z position needs correction // After this operation the z position needs correction
set_axis_not_trusted(Z_AXIS); set_axis_never_homed(Z_AXIS);
// Home Z after the alignment procedure // Home Z after the alignment procedure
process_subcommands_now_P(PSTR("G28Z")); process_subcommands_now_P(PSTR("G28Z"));
#else #else

View File

@ -1431,15 +1431,15 @@ void set_axis_is_at_home(const AxisEnum axis) {
} }
/** /**
* Set an axis' to be unhomed. * Set an axis to be unhomed.
*/ */
void set_axis_not_trusted(const AxisEnum axis) { void set_axis_never_homed(const AxisEnum axis) {
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR(">>> set_axis_not_trusted(", axis_codes[axis], ")"); if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR(">>> set_axis_never_homed(", axis_codes[axis], ")");
CBI(axis_known_position, axis); CBI(axis_known_position, axis);
CBI(axis_homed, axis); CBI(axis_homed, axis);
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("<<< set_axis_not_trusted(", axis_codes[axis], ")"); if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPAIR("<<< set_axis_never_homed(", axis_codes[axis], ")");
TERN_(I2C_POSITION_ENCODERS, I2CPEM.unhomed(axis)); TERN_(I2C_POSITION_ENCODERS, I2CPEM.unhomed(axis));
} }

View File

@ -251,7 +251,7 @@ bool axis_unhomed_error(uint8_t axis_bits=0x07);
void set_axis_is_at_home(const AxisEnum axis); void set_axis_is_at_home(const AxisEnum axis);
void set_axis_not_trusted(const AxisEnum axis); void set_axis_never_homed(const AxisEnum axis);
void homeaxis(const AxisEnum axis); void homeaxis(const AxisEnum axis);