Copter: DataFlash uses AP_Mission singleton

This commit is contained in:
Peter Barker 2018-12-13 12:36:47 +11:00 committed by Randy Mackay
parent a98e9f498f
commit 901e428d53
1 changed files with 0 additions and 3 deletions

View File

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