Browse Source

update

master
zhaohe 2 years ago
parent
commit
b8b7690a3c
  1. 2
      components/step_motor_ctrl_module/step_motor_ctrl_module.cpp

2
components/step_motor_ctrl_module/step_motor_ctrl_module.cpp

@ -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);
}
},

Loading…
Cancel
Save