Skip to content
Snippets Groups Projects
Commit ef0b934b authored by Jonathan Challinger's avatar Jonathan Challinger Committed by Randy Mackay
Browse files

Copter: don't stop logging on disarm when LOG_WHEN_DISARMED is set

parent a9e6c06f
No related branches found
No related tags found
No related merge requests found
...@@ -637,7 +637,9 @@ static void init_disarm_motors() ...@@ -637,7 +637,9 @@ static void init_disarm_motors()
Log_Write_Event(DATA_DISARMED); Log_Write_Event(DATA_DISARMED);
// suspend logging // suspend logging
DataFlash.EnableWrites(false); if (!(g.log_bitmask & MASK_LOG_WHEN_DISARMED)) {
DataFlash.EnableWrites(false);
}
// disable gps velocity based centrefugal force compensation // disable gps velocity based centrefugal force compensation
ahrs.set_correct_centrifugal(false); ahrs.set_correct_centrifugal(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment