mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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)) {
|
if (!(mask & g.log_bitmask)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!DataFlash.should_log()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user