APMrover2: use Notify singleton for sending statustext

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

View File

@ -1627,7 +1627,6 @@ void Rover::gcs_update(void)
void Rover::gcs_send_text(MAV_SEVERITY severity, const char *str)
{
gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
}
/*
@ -1643,7 +1642,6 @@ void Rover::gcs_send_text_fmt(MAV_SEVERITY severity, const char *fmt, ...)
hal.util->vsnprintf(&str[0], sizeof(str), fmt, arg_list);
va_end(arg_list);
gcs().send_statustext(severity, 0xFF, str);
notify.send_text(str);
}