|
@ -876,6 +876,7 @@ int32_t StepMotorCtrlModule::motor_calculated_pos_by_move_to_zero() { |
|
|
} else { |
|
|
} else { |
|
|
m_module_last_cmd_exec_status = erro; |
|
|
m_module_last_cmd_exec_status = erro; |
|
|
set_last_exec_status(erro, dx + m_param.shift_x); |
|
|
set_last_exec_status(erro, dx + m_param.shift_x); |
|
|
|
|
|
m_stepM1->setXACTUAL(0); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
[this]() { _motor_stop(); }); |
|
|
[this]() { _motor_stop(); }); |
|
|