Browse Source

通用模块添加 kreg_module_detail_errorcode

master
zhaohe 4 months ago
parent
commit
ad9e845df3
  1. 1
      protocol/errorcode.hpp
  2. 1
      protocol/reg_index.hpp

1
protocol/errorcode.hpp

@ -89,6 +89,7 @@ typedef enum {
kmini_servo_not_enable = 1700,
kmini_servo_mode_not_support = 1701,
kmini_servo_status_is_error = 1702,
kfan_hardware_fault = 1800,

1
protocol/reg_index.hpp

@ -12,6 +12,7 @@ typedef enum {
kreg_module_type = 1, // 模块类型
kreg_module_status = 2, // 0idle,1busy,2error
kreg_module_errorcode = 3, // inited_flag
kreg_module_detail_errorcode = 4, // 详细的错误信息,该位置的定义根据module_errorcode的不同,而不同
/*******************************************************************************
* *

Loading…
Cancel
Save