Browse Source

修改错误码位置

master
zhaohe 11 months ago
parent
commit
bc4d7a3d20
  1. 7
      transmit_disfection_protocol.hpp

7
transmit_disfection_protocol.hpp

@ -83,6 +83,13 @@ static inline const char* ProjectIDToString(uint32_t id) {
} }
typedef enum { typedef enum {
kerr_noerror = 0,
kerr_overtime = 1,
kerr_invalid_param = 2,
kerr_invalid_param_num = 3,
kerr_subdevice_offline = 4,
kerr_function_not_support = 5,
kerr_subdevice_overtime = 6,
// 驱动器错误 // 驱动器错误
kerr_motor_reset_error = 100, kerr_motor_reset_error = 100,

Loading…
Cancel
Save