mirror of https://github.com/ArduPilot/ardupilot
AP_UAVCAN: allow baro backends to be individually compiled out
This commit is contained in:
parent
b863f8a331
commit
8cd0922f01
|
@ -327,7 +327,9 @@ void AP_UAVCAN::init(uint8_t driver_index, bool enable_filters)
|
|||
AP_UAVCAN_DNA_Server::subscribe_msgs(this);
|
||||
AP_GPS_UAVCAN::subscribe_msgs(this);
|
||||
AP_Compass_UAVCAN::subscribe_msgs(this);
|
||||
#if AP_BARO_UAVCAN_ENABLED
|
||||
AP_Baro_UAVCAN::subscribe_msgs(this);
|
||||
#endif
|
||||
AP_BattMonitor_UAVCAN::subscribe_msgs(this);
|
||||
#if AP_AIRSPEED_UAVCAN_ENABLED
|
||||
AP_Airspeed_UAVCAN::subscribe_msgs(this);
|
||||
|
|
Loading…
Reference in New Issue