From a2857f97466dfb2a1325e6da7508236f3af54e02 Mon Sep 17 00:00:00 2001 From: Jason Short Date: Fri, 25 Nov 2011 20:28:30 -0800 Subject: [PATCH] Erasing Logs at new FW version detection --- ArduCopter/system.pde | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduCopter/system.pde b/ArduCopter/system.pde index 2da7c7f319..6596321573 100644 --- a/ArduCopter/system.pde +++ b/ArduCopter/system.pde @@ -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);