forked from Archive/PX4-Autopilot
Add DeviceBusType_MAVLINK
Signed-off-by: CarlOlsson <carlolsson.co@gmail.com>
This commit is contained in:
parent
3834690c4b
commit
1c0d7fc45c
|
@ -163,6 +163,10 @@
|
|||
#define DRV_ADC_DEVTYPE_ADS1115 0x90
|
||||
#define DRV_DIST_DEVTYPE_VL53L1X 0x91
|
||||
|
||||
// Generic types for unknown MAVLINK sensors
|
||||
#define DRV_GPS_DEVTYPE_MAVLINK 0x92
|
||||
#define DRV_MAG_DEVTYPE_MAVLINK 0x93
|
||||
|
||||
#define DRV_DEVTYPE_UNUSED 0xff
|
||||
|
||||
#endif /* _DRV_SENSOR_H */
|
||||
|
|
|
@ -147,6 +147,7 @@ public:
|
|||
DeviceBusType_SPI = 2,
|
||||
DeviceBusType_UAVCAN = 3,
|
||||
DeviceBusType_SIMULATION = 4,
|
||||
DeviceBusType_MAVLINK = 5,
|
||||
};
|
||||
|
||||
/*
|
||||
|
@ -192,6 +193,9 @@ public:
|
|||
case DeviceBusType_SIMULATION:
|
||||
return "SIMULATION";
|
||||
|
||||
case DeviceBusType_MAVLINK:
|
||||
return "MAVLINK";
|
||||
|
||||
case DeviceBusType_UNKNOWN:
|
||||
default:
|
||||
return "UNKNOWN";
|
||||
|
|
Loading…
Reference in New Issue