|
|
|
@ -302,10 +302,10 @@ void Tracker::load_parameters(void)
@@ -302,10 +302,10 @@ void Tracker::load_parameters(void)
|
|
|
|
|
// save the current format version
|
|
|
|
|
g.format_version.set_and_save(Parameters::k_format_version); |
|
|
|
|
hal.console->println("done."); |
|
|
|
|
} else { |
|
|
|
|
uint32_t before = AP_HAL::micros(); |
|
|
|
|
// Load all auto-loaded EEPROM variables
|
|
|
|
|
AP_Param::load_all(); |
|
|
|
|
hal.console->printf("load_all took %luus\n", (unsigned long)(AP_HAL::micros() - before)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
uint32_t before = AP_HAL::micros(); |
|
|
|
|
// Load all auto-loaded EEPROM variables
|
|
|
|
|
AP_Param::load_all(); |
|
|
|
|
hal.console->printf("load_all took %luus\n", (unsigned long)(AP_HAL::micros() - before)); |
|
|
|
|
} |
|
|
|
|