GCS_MAVLink: 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 e15abd3320
commit 06012cbc56
2 changed files with 2 additions and 2 deletions

View File

@ -1899,7 +1899,7 @@ void GCS::service_statustext(void)
// is if you have a super slow link mixed with a faster port, if there are _status_capacity
// strings in the slow queue then the next item can not be queued for the faster link
if (_statustext_queue.empty()) {
if (_statustext_queue.is_empty()) {
// nothing to do
return;
}

View File

@ -95,7 +95,7 @@ void GCS_MAVLINK::send_ftp_replies(void)
send_banner();
}
if (ftp.replies == nullptr || ftp.replies->empty()) {
if (ftp.replies == nullptr || ftp.replies->is_empty()) {
return;
}