From 7b746cf5e18cd31eb285c14c38f38d095f05bf3c Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 13 Jul 2012 12:51:38 -0700 Subject: [PATCH] Arducopter: Wrong define used, caused Copter to Yaw to home when flying missions --- ArduCopter/ArduCopter.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/ArduCopter.pde b/ArduCopter/ArduCopter.pde index fadb06ea8e..119e00a6ea 100644 --- a/ArduCopter/ArduCopter.pde +++ b/ArduCopter/ArduCopter.pde @@ -2404,7 +2404,7 @@ static void update_auto_yaw() if(wp_control == LOITER_MODE) return; - if(control_mode == CIRCLE_MODE){ + if(control_mode == CIRCLE){ auto_yaw = get_bearing(¤t_loc, &circle_WP); }else if(yaw_tracking == MAV_ROI_LOCATION){