From 051010a4cdb6d61f2dffad55c7434c0f2093e218 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sun, 12 Nov 2023 19:08:06 +0800 Subject: [PATCH] update --- components/step_motor_ctrl_module/step_motor_ctrl_module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp index d148ac3..2cd2aa0 100644 --- a/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp +++ b/components/step_motor_ctrl_module/step_motor_ctrl_module.cpp @@ -742,7 +742,7 @@ int32_t StepMotorCtrlModule::module_get_reg(int32_t param_id, int32_t* param_val int32_t StepMotorCtrlModule::module_xxx_reg(int32_t param_id, bool read, int32_t& val) { switch (param_id) { MODULE_COMMON_PROCESS_REG_CB(); - + PROCESS_REG(kreg_robot_pos, read_pos(val), ACTION_NONE); PROCESS_REG(kreg_motor_shift, REG_GET(m_param.shift_x), REG_SET(m_param.shift_x)); PROCESS_REG(kreg_motor_shaft, REG_GET(m_param.x_shaft), REG_SET(m_param.x_shaft)); PROCESS_REG(kreg_motor_one_circle_pulse, REG_GET(m_param.distance_scale), REG_SET(m_param.distance_scale));