mirror of https://github.com/ArduPilot/ardupilot
APM: removed pointless load() call
This commit is contained in:
parent
103b02fe94
commit
dc99586981
|
@ -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