mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: cope with RingBuffer rename if empty() to is_empty()
This commit is contained in:
parent
e15abd3320
commit
06012cbc56
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue