fixed a '=' vs '==' bug in do_loiter_turns()

This commit is contained in:
Andrew Tridgell 2011-10-11 20:23:42 +11:00
parent 661b6c4508
commit d9d54ffa05
1 changed files with 1 additions and 1 deletions

View File

@ -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(&current_loc);