Browse Source

update

master
zhaohe 1 year ago
parent
commit
7b7aa23519
  1. 2
      components/step_motor_ctrl_module/step_motor_ctrl_module.cpp

2
components/step_motor_ctrl_module/step_motor_ctrl_module.cpp

@ -591,6 +591,6 @@ int32_t StepMotorCtrlModule::moveTo(int32_t x, int32_t v) {
return 0;
}
int32_t StepMotorCtrlModule::rotate(int32_t direction, int32_t v) {
m_stepM1->moveToEnd(direction, m_cfg.motor_default_velocity);
m_stepM1->moveToEnd(direction, v);
return 0;
}
Loading…
Cancel
Save