diff --git a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp index 7a58d32..fdd565e 100644 --- a/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp +++ b/components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp @@ -661,6 +661,7 @@ int32_t XYRobotCtrlModule::module_xxx_reg(int32_t param_id, bool read, int32_t& PROCESS_REG(kreg_xyrobot_robot_type, REG_GET(m_basecfg.robot_type), REG_SET(m_basecfg.robot_type)); PROCESS_REG(kreg_robot_x_pos, REG_GET(m_x), ACTION_NONE); PROCESS_REG(kreg_robot_y_pos, REG_GET(m_y), ACTION_NONE); + PROCESS_REG(kreg_module_input_state, module_readio(&val), ACTION_NONE); default: return err::kmodule_not_find_config_index;