diff --git a/ArduCopter/system.cpp b/ArduCopter/system.cpp index dbfdf04145..78e9e038a5 100644 --- a/ArduCopter/system.cpp +++ b/ArduCopter/system.cpp @@ -240,9 +240,6 @@ void Copter::init_ardupilot() #endif // initialise DataFlash library -#if MODE_AUTO_ENABLED == ENABLED - DataFlash.set_mission(&mode_auto.mission); -#endif DataFlash.setVehicle_Startup_Log_Writer(FUNCTOR_BIND(&copter, &Copter::Log_Write_Vehicle_Startup_Messages, void)); // initialise rc channels including setting mode