Copter: bug fix to remove home variable

pair programmed with Craig Elder
This commit is contained in:
Randy Mackay 2014-06-11 11:57:30 +09:00
parent d0194b7a9d
commit 8c48b65175

View File

@ -22,7 +22,7 @@ static void init_home()
}
// update navigation scalers. used to offset the shrinking longitude as we go towards the poles
scaleLongDown = longitude_scale(home);
scaleLongDown = longitude_scale(loc);
scaleLongUp = 1.0f/scaleLongDown;
}