mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
Tracker: send text to notify
This commit is contained in:
parent
a04cdce1bc
commit
b67512aae9
@ -951,6 +951,7 @@ void Tracker::gcs_update(void)
|
||||
void Tracker::gcs_send_text(MAV_SEVERITY severity, const char *str)
|
||||
{
|
||||
GCS_MAVLINK::send_statustext(severity, 0xFF, str);
|
||||
notify.send_text(str);
|
||||
}
|
||||
|
||||
/*
|
||||
@ -966,6 +967,7 @@ void Tracker::gcs_send_text_fmt(MAV_SEVERITY severity, const char *fmt, ...)
|
||||
hal.util->vsnprintf((char *)str, sizeof(str), fmt, arg_list);
|
||||
va_end(arg_list);
|
||||
GCS_MAVLINK::send_statustext(severity, 0xFF, str);
|
||||
notify.send_text(str);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user