From 061766ea42f83d45913e00ca9c1401040b6145a5 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sat, 11 Nov 2023 17:34:17 +0800 Subject: [PATCH] update --- components/xy_robot_ctrl_module/xy_robot_ctrl_module.cpp | 1 + 1 file changed, 1 insertion(+) 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;