Browse Source

GCS_MAVLink: use Notify singleton for sending statustext

mission-4.1.18
Peter Barker 8 years ago committed by Tom Pittenger
parent
commit
ca6e34dfbd
  1. 5
      libraries/GCS_MAVLink/GCS_Common.cpp

5
libraries/GCS_MAVLink/GCS_Common.cpp

@ -1201,6 +1201,11 @@ void GCS::send_statustext(MAV_SEVERITY severity, uint8_t dest_bitmask, const cha @@ -1201,6 +1201,11 @@ void GCS::send_statustext(MAV_SEVERITY severity, uint8_t dest_bitmask, const cha
// try and send immediately if possible
service_statustext();
AP_Notify *notify = AP_Notify::instance();
if (notify) {
notify->send_text(text);
}
}
/*

Loading…
Cancel
Save