mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-24 01:28:29 -04:00
Copter: DataFlash uses AP_Mission singleton
This commit is contained in:
parent
a98e9f498f
commit
901e428d53
@ -240,9 +240,6 @@ void Copter::init_ardupilot()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// initialise DataFlash library
|
// 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));
|
DataFlash.setVehicle_Startup_Log_Writer(FUNCTOR_BIND(&copter, &Copter::Log_Write_Vehicle_Startup_Messages, void));
|
||||||
|
|
||||||
// initialise rc channels including setting mode
|
// initialise rc channels including setting mode
|
||||||
|
Loading…
Reference in New Issue
Block a user