mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Copter: fix longitude_scale() call for new API
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
This commit is contained in:
parent
ee19b09e9f
commit
c4f11e6c74
@ -135,7 +135,7 @@ static void init_home()
|
||||
Log_Write_Cmd(0, &home);
|
||||
|
||||
// update navigation scalers. used to offset the shrinking longitude as we go towards the poles
|
||||
scaleLongDown = longitude_scale(&home);
|
||||
scaleLongDown = longitude_scale(home);
|
||||
scaleLongUp = 1.0f/scaleLongDown;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user