@ -758,6 +758,9 @@ int32_t StepMotorCtrlModule::motor_move_to(int32_t tox, int32_t motor_velocity,
if (acc == 0) {
acc = m_param.acc;
}
if(motor_velocity == 0){
motor_velocity = m_param.maxspeed;
m_thread.start(
[this, tox, motor_velocity, acc]() {