diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 79d76bf639..aa474aae58 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -922,9 +922,6 @@ void Copter::start_logging() if (!DataFlash.logging_started()) { DataFlash.StartNewLog(); } - - // enable writes - DataFlash.EnableWrites(true); } void Copter::log_init(void) diff --git a/ArduCopter/motors.cpp b/ArduCopter/motors.cpp index 9eb9ea474f..abf492dc9d 100644 --- a/ArduCopter/motors.cpp +++ b/ArduCopter/motors.cpp @@ -259,10 +259,6 @@ void Copter::init_disarm_motors() // reset the mission mission.reset(); - // suspend logging - if (!DataFlash.log_while_disarmed()) { - DataFlash.EnableWrites(false); - } DataFlash_Class::instance()->set_vehicle_armed(false); // disable gps velocity based centrefugal force compensation