From 2c3cff7f84f91448c13e93e3f336873340f41062 Mon Sep 17 00:00:00 2001 From: Grant Morphett Date: Sat, 30 May 2015 12:08:29 +1000 Subject: [PATCH] Plane: Moving parameter logging to be after all systems have started --- ArduPlane/system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 8313962f8b..6ba875dc6d 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -226,6 +226,9 @@ void Plane::init_ardupilot() } #endif // CLI_ENABLED + // Write all current parameters + DataFlash.Log_Write_Parameters(); + startup_ground(); if (should_log(MASK_LOG_CMD)) Log_Write_Startup(TYPE_GROUNDSTART_MSG);