Browse Source

Rover: send text to notify

master
Randy Mackay 8 years ago committed by Lucas De Marchi
parent
commit
c701d6a715
  1. 2
      APMrover2/GCS_Mavlink.cpp

2
APMrover2/GCS_Mavlink.cpp

@ -1568,6 +1568,7 @@ void Rover::gcs_update(void) @@ -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, ...) @@ -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);
}

Loading…
Cancel
Save