From 23709bafef1b931cfd1a6760b02baa29faad8500 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Sun, 29 Jan 2012 23:02:00 -0800 Subject: [PATCH] pid_nav_lat incorrectly labeled --- ArduCopter/navigation.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/navigation.pde b/ArduCopter/navigation.pde index 5f53dee976..fb8fdb3c5c 100644 --- a/ArduCopter/navigation.pde +++ b/ArduCopter/navigation.pde @@ -208,7 +208,7 @@ static void calc_nav_lon(int rate) static void calc_nav_lat(int rate) { - nav_lat = g.pid_nav_lon.get_pid(rate, dTnav); + nav_lat = g.pid_nav_lat.get_pid(rate, dTnav); nav_lat = get_corrected_angle(rate, nav_lat); nav_lat = constrain(nav_lat, -3000, 3000); }