diff --git a/ArduSub/system.cpp b/ArduSub/system.cpp index 3d3c123fb6..1d7cd07db4 100644 --- a/ArduSub/system.cpp +++ b/ArduSub/system.cpp @@ -297,7 +297,7 @@ bool Sub::should_log(uint32_t mask) if (!(mask & g.log_bitmask)) { return false; } - if (!motors.armed() && !DataFlash.log_while_disarmed()) { + if (!DataFlash.should_log()) { return false; } start_logging();