Browse Source

Plane: call dataflash should_log method

mission-4.1.18
Peter Barker 8 years ago committed by Francisco Ferreira
parent
commit
b57a4e9685
  1. 2
      ArduPlane/system.cpp

2
ArduPlane/system.cpp

@ -841,7 +841,7 @@ bool Plane::should_log(uint32_t mask)
if (!(mask & g.log_bitmask)) { if (!(mask & g.log_bitmask)) {
return false; return false;
} }
if (!hal.util->get_soft_armed() && !DataFlash.log_while_disarmed()) { if (!DataFlash.should_log()) {
return false; return false;
} }
if (in_log_download) { if (in_log_download) {

Loading…
Cancel
Save