From c4f11e6c742d8c19779db85fefe517eec0de5987 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 5 Aug 2013 10:18:53 +1000 Subject: [PATCH] Copter: fix longitude_scale() call for new API Pair-Programmed-With: Brandon Jones --- ArduCopter/commands.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/commands.pde b/ArduCopter/commands.pde index 0786ed1ea3..f9edafc46d 100644 --- a/ArduCopter/commands.pde +++ b/ArduCopter/commands.pde @@ -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; }