mirror of https://github.com/ArduPilot/ardupilot
AP_Airspeed: fix clang++ warnings on static inits
these are static variables so don't need zeroing anyway...
This commit is contained in:
parent
e4859ee4b3
commit
1185da02a6
|
@ -14,7 +14,7 @@ extern const AP_HAL::HAL& hal;
|
|||
// UAVCAN Frontend Registry Binder
|
||||
UC_REGISTRY_BINDER(AirspeedCb, uavcan::equipment::air_data::RawAirData);
|
||||
|
||||
AP_Airspeed_UAVCAN::DetectedModules AP_Airspeed_UAVCAN::_detected_modules[] = {0};
|
||||
AP_Airspeed_UAVCAN::DetectedModules AP_Airspeed_UAVCAN::_detected_modules[];
|
||||
HAL_Semaphore AP_Airspeed_UAVCAN::_sem_registry;
|
||||
|
||||
// constructor
|
||||
|
|
Loading…
Reference in New Issue