Plane: remove incorrect comment about logging/in_mavlink-delay

This commit is contained in:
Peter Barker 2016-11-06 08:57:00 +11:00 committed by Tom Pittenger
parent d11578f203
commit 98b5ab4656

View File

@ -781,8 +781,6 @@ bool Plane::should_log(uint32_t mask)
}
bool ret = hal.util->get_soft_armed() || DataFlash.log_while_disarmed();
if (ret && !DataFlash.logging_started() && !in_log_download) {
// we have to set in_mavlink_delay to prevent logging while
// writing headers
start_logging();
}
return ret;