mirror of https://github.com/ArduPilot/ardupilot
Tracker: call dataflash should_log method
This commit is contained in:
parent
0df30d03b1
commit
bf510221e0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue