mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Erasing Logs at new FW version detection
This commit is contained in:
parent
9d55f8ee90
commit
a2857f9746
@ -164,6 +164,9 @@ static void init_ardupilot()
|
||||
delay(100); // wait for serial send
|
||||
AP_Var::erase_all();
|
||||
|
||||
// clear logs
|
||||
erase_logs(NULL, NULL);
|
||||
|
||||
// save the new format version
|
||||
g.format_version.set_and_save(Parameters::k_format_version);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user