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

View File

@ -299,7 +299,7 @@ static void do_loiter_unlimited()
static void do_loiter_turns() static void do_loiter_turns()
{ {
wp_control == CIRCLE_MODE; wp_control = CIRCLE_MODE;
if(next_command.lat == 0) if(next_command.lat == 0)
set_next_WP(&current_loc); set_next_WP(&current_loc);