mirror of https://github.com/ArduPilot/ardupilot
Copter: don't stop logging on disarm when LOG_WHEN_DISARMED is set
This commit is contained in:
parent
a9e6c06f1a
commit
ef0b934b10
|
@ -637,7 +637,9 @@ static void init_disarm_motors()
|
|||
Log_Write_Event(DATA_DISARMED);
|
||||
|
||||
// suspend logging
|
||||
DataFlash.EnableWrites(false);
|
||||
if (!(g.log_bitmask & MASK_LOG_WHEN_DISARMED)) {
|
||||
DataFlash.EnableWrites(false);
|
||||
}
|
||||
|
||||
// disable gps velocity based centrefugal force compensation
|
||||
ahrs.set_correct_centrifugal(false);
|
||||
|
|
Loading…
Reference in New Issue