Browse Source

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

master
Jonathan Challinger 10 years ago committed by Randy Mackay
parent
commit
25a2fa67b6
  1. 4
      ArduCopter/motors.pde

4
ArduCopter/motors.pde

@ -634,7 +634,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);

Loading…
Cancel
Save