ArduCopter: use Notify singleton for sending statustext

This commit is contained in:
Peter Barker 2017-07-09 09:52:28 +10:00 committed by Tom Pittenger
parent ca6e34dfbd
commit 037cd2e9c6

View File

@ -2081,7 +2081,6 @@ void Copter::gcs_check_input(void)
void Copter::gcs_send_text(MAV_SEVERITY severity, const char *str)
{
gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
}
/*
@ -2097,7 +2096,6 @@ void Copter::gcs_send_text_fmt(MAV_SEVERITY severity, const char *fmt, ...)
va_end(arg_list);
hal.util->vsnprintf((char *)str, sizeof(str), fmt, arg_list);
gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
}
/*