mirror of https://github.com/ArduPilot/ardupilot
AP_Compass: fix clang++ warnings on static inits
these are static variables so don't need zeroing anyway...
This commit is contained in:
parent
b11cd3b69d
commit
16ea4f03b6
|
@ -32,7 +32,7 @@ extern const AP_HAL::HAL& hal;
|
|||
UC_REGISTRY_BINDER(MagCb, uavcan::equipment::ahrs::MagneticFieldStrength);
|
||||
UC_REGISTRY_BINDER(Mag2Cb, uavcan::equipment::ahrs::MagneticFieldStrength2);
|
||||
|
||||
AP_Compass_UAVCAN::DetectedModules AP_Compass_UAVCAN::_detected_modules[] = {0};
|
||||
AP_Compass_UAVCAN::DetectedModules AP_Compass_UAVCAN::_detected_modules[];
|
||||
HAL_Semaphore AP_Compass_UAVCAN::_sem_registry;
|
||||
|
||||
AP_Compass_UAVCAN::AP_Compass_UAVCAN(AP_UAVCAN* ap_uavcan, uint8_t node_id, uint8_t sensor_id, uint32_t devid)
|
||||
|
|
Loading…
Reference in New Issue