mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Periph: set defualt format version
This commit is contained in:
parent
ff103e309e
commit
18351186db
@ -472,6 +472,7 @@ void AP_Periph_FW::load_parameters(void)
|
|||||||
// save the current format version
|
// save the current format version
|
||||||
g.format_version.set_and_save(Parameters::k_format_version);
|
g.format_version.set_and_save(Parameters::k_format_version);
|
||||||
}
|
}
|
||||||
|
g.format_version.set_default(Parameters::k_format_version);
|
||||||
|
|
||||||
// Load all auto-loaded EEPROM variables
|
// Load all auto-loaded EEPROM variables
|
||||||
AP_Param::load_all();
|
AP_Param::load_all();
|
||||||
|
Loading…
Reference in New Issue
Block a user