Browse Source

AP_GPS: fix clang++ warnings on static inits

these are static variables so don't need zeroing anyway...
apm_2208
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
c2091fdef5
  1. 2
      libraries/AP_GPS/AP_GPS_UAVCAN.cpp

2
libraries/AP_GPS/AP_GPS_UAVCAN.cpp

@ -75,7 +75,7 @@ UC_REGISTRY_BINDER(RelPosHeadingCb, ardupilot::gnss::RelPosHeading); @@ -75,7 +75,7 @@ UC_REGISTRY_BINDER(RelPosHeadingCb, ardupilot::gnss::RelPosHeading);
#else
#define NATIVE_TIME_OFFSET 0
#endif
AP_GPS_UAVCAN::DetectedModules AP_GPS_UAVCAN::_detected_modules[] = {0};
AP_GPS_UAVCAN::DetectedModules AP_GPS_UAVCAN::_detected_modules[];
HAL_Semaphore AP_GPS_UAVCAN::_sem_registry;
// Member Methods

Loading…
Cancel
Save