diff --git a/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp b/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp index 1445242..bbfa647 100644 --- a/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp +++ b/components/step_motor_ctrl_module/step_motor_ctrl_module.hpp @@ -133,7 +133,7 @@ class StepMotorCtrlModule : public I_StepMotorCtrlModule, public ZIModule, publi virtual int32_t module_flush_cfg() override; virtual int32_t module_active_cfg() override; - virtual int32_t module_enable(int32_t enable) { return motor_enable(enable); } + virtual int32_t module_enable(int32_t enable) override { return motor_enable(enable); } /******************************************************************************* * Motor * @@ -188,7 +188,8 @@ class StepMotorCtrlModule : public I_StepMotorCtrlModule, public ZIModule, publi void call_exec_status_cb(int32_t status, action_cb_status_t status_cb); void set_last_exec_status(int32_t ecode, int32_t val0 = 0, int32_t val1 = 0, int32_t val2 = 0, int32_t val3 = 0, int32_t val4 = 0, int32_t val5 = 0); - private: + + private: int32_t _read_io(); }; } // namespace iflytop \ No newline at end of file