Tracker: use Notify singleton for sending statustext

This commit is contained in:
Peter Barker 2017-07-09 09:54:55 +10:00 committed by Tom Pittenger
parent 7ad003a211
commit f9eeaacd6c
1 changed files with 0 additions and 2 deletions

View File

@ -901,7 +901,6 @@ void Tracker::gcs_update(void)
void Tracker::gcs_send_text(MAV_SEVERITY severity, const char *str) void Tracker::gcs_send_text(MAV_SEVERITY severity, const char *str)
{ {
gcs().send_statustext(severity, 0xFF, str); gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
} }
/* /*
@ -917,7 +916,6 @@ void Tracker::gcs_send_text_fmt(MAV_SEVERITY severity, const char *fmt, ...)
hal.util->vsnprintf((char *)str, sizeof(str), fmt, arg_list); hal.util->vsnprintf((char *)str, sizeof(str), fmt, arg_list);
va_end(arg_list); va_end(arg_list);
gcs().send_statustext(severity, 0xFF, str); gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
} }
/** /**