From 6b904776ca68bc8bd179a33e9888f3e2d596b3c0 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 27 Apr 2025 11:32:38 +0800 Subject: [PATCH] =?UTF-8?q?v1205=20|=20=E4=B8=8A=E7=94=B5=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=A4=B1=E8=83=BD=E9=A9=B1=E5=8A=A8=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sdk/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp | 3 +-- usrc/version.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) 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