ArduCopter: use Notify singleton for sending statustext
This commit is contained in:
parent
ca6e34dfbd
commit
037cd2e9c6
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user