|
|
|
@ -487,9 +487,10 @@ static void do_loiter_at_location()
@@ -487,9 +487,10 @@ static void do_loiter_at_location()
|
|
|
|
|
static void do_jump() |
|
|
|
|
{ |
|
|
|
|
struct Location temp; |
|
|
|
|
gcs_send_text_fmt(PSTR("In jump. Jumps left: %i"),next_nonnav_command.lat); |
|
|
|
|
if(next_nonnav_command.lat > 0) { |
|
|
|
|
|
|
|
|
|
gcs_send_text_fmt(PSTR("Jump to WP %u. Jumps left: %d"), |
|
|
|
|
(unsigned)next_nonnav_command.p1, |
|
|
|
|
(int)next_nonnav_command.lat); |
|
|
|
|
if (next_nonnav_command.lat > 0) { |
|
|
|
|
nav_command_ID = NO_COMMAND; |
|
|
|
|
next_nav_command.id = NO_COMMAND; |
|
|
|
|
non_nav_command_ID = NO_COMMAND; |
|
|
|
|