mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Plane: call dataflash should_log method
This commit is contained in:
parent
cb41f09d2e
commit
b57a4e9685
@ -841,7 +841,7 @@ bool Plane::should_log(uint32_t mask)
|
||||
if (!(mask & g.log_bitmask)) {
|
||||
return false;
|
||||
}
|
||||
if (!hal.util->get_soft_armed() && !DataFlash.log_while_disarmed()) {
|
||||
if (!DataFlash.should_log()) {
|
||||
return false;
|
||||
}
|
||||
if (in_log_download) {
|
||||
|
Loading…
Reference in New Issue
Block a user