diff --git a/ArduCopter/commands_logic.pde b/ArduCopter/commands_logic.pde index eeff0e6112..cc85156d59 100644 --- a/ArduCopter/commands_logic.pde +++ b/ArduCopter/commands_logic.pde @@ -299,7 +299,7 @@ static void do_loiter_unlimited() static void do_loiter_turns() { - wp_control == CIRCLE_MODE; + wp_control = CIRCLE_MODE; if(next_command.lat == 0) set_next_WP(¤t_loc);