Use bit flags for homed/known
This commit is contained in:
@ -161,7 +161,7 @@ bool Running = true;
|
||||
* Flags that the position is known in each linear axis. Set when homed.
|
||||
* Cleared whenever a stepper powers off, potentially losing its position.
|
||||
*/
|
||||
bool axis_homed[XYZ] = { false }, axis_known_position[XYZ] = { false };
|
||||
uint8_t axis_homed, axis_known_position; // = 0
|
||||
|
||||
#if ENABLED(TEMPERATURE_UNITS_SUPPORT)
|
||||
TempUnit input_temp_units = TEMPUNIT_C;
|
||||
|
Reference in New Issue
Block a user