mirror of https://github.com/ArduPilot/ardupilot
Arducopter: Wrong define used, caused Copter to Yaw to home when flying missions
This commit is contained in:
parent
34cf0b4c24
commit
ce0de98144
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue