Tracker: call dataflash should_log method

This commit is contained in:
Peter Barker 2017-06-15 09:27:25 +10:00 committed by Francisco Ferreira
parent 0df30d03b1
commit bf510221e0
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}