From a7e0135cd441dbc9813cfe95b243ce6e88f167b6 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Mon, 28 Nov 2011 22:28:51 -0800 Subject: [PATCH] adding flag for finished mission --- ArduCopter/commands_process.pde | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduCopter/commands_process.pde b/ArduCopter/commands_process.pde index d799c3063c..6002d81173 100644 --- a/ArduCopter/commands_process.pde +++ b/ArduCopter/commands_process.pde @@ -53,6 +53,8 @@ static void update_commands() // this is a conditional command so we skip it command_nav_queue.id = NO_COMMAND; } + }else{ + command_nav_index == 255; } }