mirror of https://github.com/ArduPilot/ardupilot
AP_RCTelemetry: cope with RingBuffer rename if empty() to is_empty()
This commit is contained in:
parent
fd3dd77489
commit
e15abd3320
|
@ -104,7 +104,7 @@ void AP_RCTelemetry::run_wfq_scheduler(void)
|
||||||
bool queue_empty;
|
bool queue_empty;
|
||||||
{
|
{
|
||||||
WITH_SEMAPHORE(_statustext.sem);
|
WITH_SEMAPHORE(_statustext.sem);
|
||||||
queue_empty = !_statustext.available && _statustext.queue.empty();
|
queue_empty = !_statustext.available && _statustext.queue.is_empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
adjust_packet_weight(queue_empty);
|
adjust_packet_weight(queue_empty);
|
||||||
|
|
Loading…
Reference in New Issue