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

This commit is contained in:
Grant Morphett 2015-05-30 12:08:29 +10:00 committed by Randy Mackay
parent 518308efae
commit 2c3cff7f84
1 changed files with 3 additions and 0 deletions

View File

@ -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);