GCS_MAVLink: rely on HAL_LOGGING_ENABLED for sending logs

This commit is contained in:
Peter Barker 2023-06-20 16:41:35 +10:00 committed by Peter Barker
parent a6a691cce3
commit ed96bb6dd4
1 changed files with 1 additions and 1 deletions

View File

@ -1384,7 +1384,7 @@ void GCS_MAVLINK_InProgress::check_tasks()
void GCS_MAVLINK::update_send()
{
#if !defined(HAL_BUILD_AP_PERIPH) || HAL_LOGGING_ENABLED
#if HAL_LOGGING_ENABLED
if (!hal.scheduler->in_delay_callback()) {
// AP_Logger will not send log data if we are armed.
AP::logger().handle_log_send();