AP_RCTelemetry: cope with RingBuffer rename if empty() to is_empty()

This commit is contained in:
Peter Barker 2020-06-03 14:54:50 +10:00 committed by Andrew Tridgell
parent fd3dd77489
commit e15abd3320
1 changed files with 1 additions and 1 deletions

View File

@ -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);