diff --git a/ArduPlane/system.cpp b/ArduPlane/system.cpp index 9511b81c22..39c7888c1e 100644 --- a/ArduPlane/system.cpp +++ b/ArduPlane/system.cpp @@ -841,7 +841,7 @@ bool Plane::should_log(uint32_t mask) if (!(mask & g.log_bitmask)) { return false; } - if (!hal.util->get_soft_armed() && !DataFlash.log_while_disarmed()) { + if (!DataFlash.should_log()) { return false; } if (in_log_download) {