From e15abd33202f1d175f07410c4ab0f9b0f41c2ef7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 3 Jun 2020 14:54:50 +1000 Subject: [PATCH] AP_RCTelemetry: cope with RingBuffer rename if empty() to is_empty() --- libraries/AP_RCTelemetry/AP_RCTelemetry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_RCTelemetry/AP_RCTelemetry.cpp b/libraries/AP_RCTelemetry/AP_RCTelemetry.cpp index 06393fa83e..003899d121 100644 --- a/libraries/AP_RCTelemetry/AP_RCTelemetry.cpp +++ b/libraries/AP_RCTelemetry/AP_RCTelemetry.cpp @@ -104,7 +104,7 @@ void AP_RCTelemetry::run_wfq_scheduler(void) bool queue_empty; { WITH_SEMAPHORE(_statustext.sem); - queue_empty = !_statustext.available && _statustext.queue.empty(); + queue_empty = !_statustext.available && _statustext.queue.is_empty(); } adjust_packet_weight(queue_empty);