Plane: DataFlash uses AP_Mission singleton

This commit is contained in:
Peter Barker 2018-12-13 12:36:55 +11:00 committed by Randy Mackay
parent 901e428d53
commit 56675851b6

View File

@ -249,7 +249,6 @@ void Plane::startup_ground(void)
// initialise DataFlash library
#if LOGGING_ENABLED == ENABLED
DataFlash.set_mission(&mission);
DataFlash.setVehicle_Startup_Log_Writer(
FUNCTOR_BIND(&plane, &Plane::Log_Write_Vehicle_Startup_Messages, void)
);