mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
Plane: remove incorrect comment about logging/in_mavlink-delay
This commit is contained in:
parent
d11578f203
commit
98b5ab4656
@ -781,8 +781,6 @@ bool Plane::should_log(uint32_t mask)
|
|||||||
}
|
}
|
||||||
bool ret = hal.util->get_soft_armed() || DataFlash.log_while_disarmed();
|
bool ret = hal.util->get_soft_armed() || DataFlash.log_while_disarmed();
|
||||||
if (ret && !DataFlash.logging_started() && !in_log_download) {
|
if (ret && !DataFlash.logging_started() && !in_log_download) {
|
||||||
// we have to set in_mavlink_delay to prevent logging while
|
|
||||||
// writing headers
|
|
||||||
start_logging();
|
start_logging();
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user