mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Compass: avoid using struct Location
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
This commit is contained in:
parent
1dff5b5710
commit
8155e0ab3b
@ -1068,7 +1068,7 @@ bool CompassCalibrator::fix_radius(void)
|
||||
_params.scale_factor = 0;
|
||||
return true;
|
||||
}
|
||||
const struct Location &loc = AP::gps().location();
|
||||
const Location &loc = AP::gps().location();
|
||||
float intensity;
|
||||
float declination;
|
||||
float inclination;
|
||||
|
Loading…
Reference in New Issue
Block a user