From bf510221e0b5c66a65633b1f485cc4e412d4d4e1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 15 Jun 2017 09:27:25 +1000 Subject: [PATCH] Tracker: call dataflash should_log method --- AntennaTracker/system.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AntennaTracker/system.cpp b/AntennaTracker/system.cpp index 72572f9dc5..20d94a7d8c 100644 --- a/AntennaTracker/system.cpp +++ b/AntennaTracker/system.cpp @@ -259,5 +259,8 @@ bool Tracker::should_log(uint32_t mask) if (!(mask & g.log_bitmask)) { return false; } + if (!DataFlash.should_log()) { + return false; + } return true; }