clear homed status for axis that has max travel changed

This commit is contained in:
Terje Io
2022-01-14 21:09:00 +01:00
parent f81fcc49f6
commit e9a5e9cbde
3 changed files with 5 additions and 2 deletions

View File

@@ -697,7 +697,7 @@ static void motor_iterator (motor_iterator_callback_ptr callback)
{
motor_map_t motor;
for(motor.id = 0; motor.id < N_AXIS + N_GANGED; motor.id++)
if(callback) for(motor.id = 0; motor.id < N_AXIS + N_GANGED; motor.id++)
{
if(motor.id < N_AXIS)
motor.axis = motor.id;