Arducopter: Wrong define used, caused Copter to Yaw to home when flying missions

This commit is contained in:
Jason Short 2012-07-13 12:51:38 -07:00
parent 34cf0b4c24
commit ce0de98144
1 changed files with 1 additions and 1 deletions

View File

@ -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(&current_loc, &circle_WP);
}else if(yaw_tracking == MAV_ROI_LOCATION){