mirror of https://github.com/ArduPilot/ardupilot
Copter: DataFlash uses AP_Mission singleton
This commit is contained in:
parent
a98e9f498f
commit
901e428d53
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue