Plane: use reload_defaults_file()
This commit is contained in:
parent
0c32178d07
commit
3338b4295e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user