|
|
@ -907,7 +907,7 @@ int32_t StepMotorCtrlModule::motor_calculated_pos_by_move_to_zero() { |
|
|
|
set_last_exec_status(erro); |
|
|
|
} else { |
|
|
|
m_com_reg.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); |
|
|
|
} |
|
|
|
}, |
|
|
|