removed saving - not needed for copters

This commit is contained in:
Jason Short 2011-09-18 16:28:53 -07:00
parent 151cae6074
commit ddc5ced162
2 changed files with 2 additions and 2 deletions

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

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();
}
}