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