Plane: use reload_defaults_file()

This commit is contained in:
Andrew Tridgell 2017-01-09 20:52:49 +11:00
parent 0c32178d07
commit 3338b4295e
2 changed files with 3 additions and 1 deletions

View File

@ -1320,7 +1320,7 @@ void Plane::load_parameters(void)
uint32_t before = micros();
// Load all auto-loaded EEPROM variables
AP_Param::load_all();
AP_Param::load_all(false);
AP_Param::convert_old_parameters(&conversion_table[0], ARRAY_SIZE(conversion_table));
// setup defaults in SRV_Channels

View File

@ -241,6 +241,8 @@ void Plane::init_ardupilot()
quadplane.setup();
AP_Param::reload_defaults_file();
startup_ground();
// don't initialise aux rc output until after quadplane is setup as