Copter: fix longitude_scale() call for new API

Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
This commit is contained in:
Andrew Tridgell 2013-08-05 10:18:53 +10:00
parent ee19b09e9f
commit c4f11e6c74

View File

@ -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;
}