mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: rely on HAL_LOGGING_ENABLED for sending logs
This commit is contained in:
parent
a6a691cce3
commit
ed96bb6dd4
|
@ -1384,7 +1384,7 @@ void GCS_MAVLINK_InProgress::check_tasks()
|
||||||
|
|
||||||
void GCS_MAVLINK::update_send()
|
void GCS_MAVLINK::update_send()
|
||||||
{
|
{
|
||||||
#if !defined(HAL_BUILD_AP_PERIPH) || HAL_LOGGING_ENABLED
|
#if HAL_LOGGING_ENABLED
|
||||||
if (!hal.scheduler->in_delay_callback()) {
|
if (!hal.scheduler->in_delay_callback()) {
|
||||||
// AP_Logger will not send log data if we are armed.
|
// AP_Logger will not send log data if we are armed.
|
||||||
AP::logger().handle_log_send();
|
AP::logger().handle_log_send();
|
||||||
|
|
Loading…
Reference in New Issue