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