mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 01:48:29 -04:00
Copter: call dataflash should_log method
This commit is contained in:
parent
bf510221e0
commit
cb41f09d2e
@ -497,7 +497,7 @@ bool Copter::should_log(uint32_t mask)
|
||||
if (!(mask & g.log_bitmask)) {
|
||||
return false;
|
||||
}
|
||||
if (!motors->armed() && !DataFlash.log_while_disarmed()) {
|
||||
if (!DataFlash.should_log()) {
|
||||
return false;
|
||||
}
|
||||
if (in_log_download) {
|
||||
|
Loading…
Reference in New Issue
Block a user