AP_Baro: fix clang++ warnings on static inits

these are static variables so don't need zeroing anyway...
This commit is contained in:
Peter Barker 2022-06-22 18:20:30 +10:00 committed by Andrew Tridgell
parent 1185da02a6
commit b11cd3b69d
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ extern const AP_HAL::HAL& hal;
UC_REGISTRY_BINDER(PressureCb, uavcan::equipment::air_data::StaticPressure);
UC_REGISTRY_BINDER(TemperatureCb, uavcan::equipment::air_data::StaticTemperature);
AP_Baro_UAVCAN::DetectedModules AP_Baro_UAVCAN::_detected_modules[] = {0};
AP_Baro_UAVCAN::DetectedModules AP_Baro_UAVCAN::_detected_modules[];
HAL_Semaphore AP_Baro_UAVCAN::_sem_registry;
/*