5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-05 23:48:31 -04:00

Rover: send text to notify

This commit is contained in:
Randy Mackay 2017-01-21 15:25:44 +09:00 committed by Lucas De Marchi
parent cc64c5e44a
commit c701d6a715

View File

@ -1568,6 +1568,7 @@ void Rover::gcs_update(void)
void Rover::gcs_send_text(MAV_SEVERITY severity, const char *str)
{
GCS_MAVLINK::send_statustext(severity, 0xFF, str);
notify.send_text(str);
}
/*
@ -1583,6 +1584,7 @@ void Rover::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);
}