removed saving - not needed for copters

This commit is contained in:
Jason Short committed 2011-09-18 16:28:53 -07:00
1 parent 151cae6074
commit ddc5ced162
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
static void init_commands()
{
// zero is home, but we always load the next command (1), in the code.
g.waypoint_index.set_and_save(0);
g.waypoint_index = 0;
// This are registers for the current may and must commands
// setting to zero will allow them to be written to by new commands
+1 -1
View File
@@ -11,7 +11,7 @@ static void change_command(uint8_t index)
} else {
command_must_index = NO_COMMAND;
next_command.id = NO_COMMAND;
g.waypoint_index.set_and_save(index - 1);
g.waypoint_index = index - 1;
update_commands();
}
}