Copter: Moving parameter logging to be after all systems have started

This commit is contained in:
Grant Morphett 2015-05-30 12:08:03 +10:00 committed by Randy Mackay
parent e86a89e5bd
commit 518308efae

View File

@ -253,6 +253,11 @@ void Copter::init_ardupilot()
heli_init();
#endif
#if LOGGING_ENABLED == ENABLED
// Write all current parameters
DataFlash.Log_Write_Parameters();
#endif
startup_ground(true);
#if LOGGING_ENABLED == ENABLED