diff --git a/sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp b/sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp index 89f816f..3a2d1fd 100644 --- a/sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp +++ b/sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp @@ -25,7 +25,7 @@ void StepMotorCtrlModule::initialize(int moduleid, TMC51X0* stepM, ZGPIO iotable m_state.has_move_to_zero = 0; step_motor_active_cfg(); - step_motor_enable(true); + step_motor_enable(false); TMC51X0* tmcmotor = dynamic_cast(m_stepM1); if (tmcmotor) { @@ -866,7 +866,6 @@ int32_t StepMotorCtrlModule::step_motor_move_to_zero_point_quick(int32_t speedle return 0; } - // int32_t StepMotorCtrlModule::getnowpos(int32_t& x) { if (m_cfg.motor_enable_enc == 0) { diff --git a/usrc/version.h b/usrc/version.h index 093d60d..6c26a92 100644 --- a/usrc/version.h +++ b/usrc/version.h @@ -1,2 +1,2 @@ #pragma once -#define APP_VERSION 1204 +#define APP_VERSION 1205