diff options
author | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-11 11:13:08 +0100 |
---|---|---|
committer | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-11 11:29:35 +0100 |
commit | 51ffb887c39ecfd0cb94879475f032ee65505321 (patch) | |
tree | 49acb3996936fafd953cda26c6df5d338e9d3841 /src/drivers/device/device.h | |
parent | 88093ebf1af5483d8b5c218adb1ea0c4798ee21e (diff) | |
download | px4-firmware-51ffb887c39ecfd0cb94879475f032ee65505321.tar.gz px4-firmware-51ffb887c39ecfd0cb94879475f032ee65505321.tar.bz2 px4-firmware-51ffb887c39ecfd0cb94879475f032ee65505321.zip |
UAVCAN: initialize device id for mag and baro to allow DEVIOCGDEVICEID ioctl to return useful data
Diffstat (limited to 'src/drivers/device/device.h')
-rw-r--r-- | src/drivers/device/device.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/device/device.h b/src/drivers/device/device.h index 9d684e394..67aaa0aff 100644 --- a/src/drivers/device/device.h +++ b/src/drivers/device/device.h @@ -130,7 +130,8 @@ public: enum DeviceBusType { DeviceBusType_UNKNOWN = 0, DeviceBusType_I2C = 1, - DeviceBusType_SPI = 2 + DeviceBusType_SPI = 2, + DeviceBusType_UAVCAN = 3, }; /* |