Browse Source

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

master
Grant Morphett 10 years ago committed by Randy Mackay
parent
commit
2c3cff7f84
  1. 3
      ArduPlane/system.cpp

3
ArduPlane/system.cpp

@ -226,6 +226,9 @@ void Plane::init_ardupilot() @@ -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);

Loading…
Cancel
Save