diff options
author | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-11 17:01:20 +0100 |
---|---|---|
committer | Holger Steinhaus <holger@steinhaus-home.de> | 2014-11-11 17:04:28 +0100 |
commit | 50b410664f4087bb4fd50e8bba62267c70719b71 (patch) | |
tree | 5c15202477592ba7eb7adc7b1c654940d64bff69 /src | |
parent | 51ffb887c39ecfd0cb94879475f032ee65505321 (diff) | |
download | px4-firmware-50b410664f4087bb4fd50e8bba62267c70719b71.tar.gz px4-firmware-50b410664f4087bb4fd50e8bba62267c70719b71.tar.bz2 px4-firmware-50b410664f4087bb4fd50e8bba62267c70719b71.zip |
UAVCAN: set bus number part of device_id to zero
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/uavcan/sensors/sensor_bridge.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/uavcan/sensors/sensor_bridge.hpp b/src/modules/uavcan/sensors/sensor_bridge.hpp index 04c59b77d..e31960537 100644 --- a/src/modules/uavcan/sensors/sensor_bridge.hpp +++ b/src/modules/uavcan/sensors/sensor_bridge.hpp @@ -113,7 +113,7 @@ protected: { memcpy(_orb_topics, orb_topics, sizeof(orb_id_t) * MaxChannels); _device_id.devid_s.bus_type = DeviceBusType_UAVCAN; - _device_id.devid_s.bus = 1; // @TBD: insert UAVCAN bus no. here + _device_id.devid_s.bus = 0; } /** |