Rover: DataFlash uses AP_Mission singleton

This commit is contained in:
Peter Barker 2018-12-13 12:36:29 +11:00 committed by Randy Mackay
parent 590eb86a45
commit a98e9f498f

View File

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