mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Sub: remove unused calculation of longitude scale
This commit is contained in:
parent
f7b34677df
commit
d7735a316a
@ -71,7 +71,7 @@ bool Sub::set_home(const Location& loc, bool lock)
|
||||
// init inav and compass declination
|
||||
if (!home_was_set) {
|
||||
// update navigation scalers. used to offset the shrinking longitude as we go towards the poles
|
||||
scaleLongDown = longitude_scale(loc);
|
||||
scaleLongDown = loc.longitude_scale();
|
||||
// record home is set
|
||||
Log_Write_Event(DATA_SET_HOME);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user