Rover: call dataflash should_log method
This commit is contained in:
parent
e0e78d83e5
commit
0df30d03b1
@ -546,7 +546,7 @@ bool Rover::should_log(uint32_t mask)
|
|||||||
if (!(mask & g.log_bitmask)) {
|
if (!(mask & g.log_bitmask)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!hal.util->get_soft_armed() && !DataFlash.log_while_disarmed()) {
|
if (!DataFlash.should_log()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (in_log_download) {
|
if (in_log_download) {
|
||||||
|
Loading…
Reference in New Issue
Block a user