mirror of https://github.com/ArduPilot/ardupilot
APM: removed pointless load() call
This commit is contained in:
parent
2ba08c2122
commit
f33d15ab80
|
@ -35,7 +35,6 @@ static void update_auto()
|
||||||
static void reload_commands_airstart()
|
static void reload_commands_airstart()
|
||||||
{
|
{
|
||||||
init_commands();
|
init_commands();
|
||||||
g.command_index.load(); // XXX can we assume it's been loaded already by ::load_all?
|
|
||||||
decrement_cmd_index();
|
decrement_cmd_index();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue