@ -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]() {
@ -1 +1 @@
Subproject commit 0da1095ad399f7acbe11f2f5ba166b84268c1df6
Subproject commit 3144ce2a8f3088e7d2123e2dfb3248ef6857a478