Browse Source

update

master
zhaohe 1 year ago
parent
commit
0a220fccdd
  1. 8
      iflytop_canbus_protocol.hpp

8
iflytop_canbus_protocol.hpp

@ -92,6 +92,7 @@ typedef enum {
kerr_overtime = 1,
kerr_invalid_param = 2,
kerr_invalid_param_num = 3,
kerr_subdevice_offline = 4,
// 驱动器错误
kerr_motor_reset_error = 100,
@ -316,8 +317,11 @@ typedef struct {
} report_exeception_data_t;
typedef struct {
uint16_t subid;
uint32_t pressure;
uint8_t sensorDataNum;
struct {
uint8_t subid;
int16_t pressureVal;
} data[];
} report_pressure_data_t;
typedef struct {

Loading…
Cancel
Save