mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: supply format string to send_text
This commit is contained in:
parent
65c46ac322
commit
678c11f048
|
@ -161,7 +161,7 @@ void AP_GPS_Backend::broadcast_gps_type() const
|
|||
{
|
||||
char buffer[MAVLINK_MSG_STATUSTEXT_FIELD_TEXT_LEN+1];
|
||||
_detection_message(buffer, sizeof(buffer));
|
||||
gcs().send_text(MAV_SEVERITY_INFO, buffer);
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "%s", buffer);
|
||||
}
|
||||
|
||||
void AP_GPS_Backend::Write_AP_Logger_Log_Startup_messages() const
|
||||
|
|
Loading…
Reference in New Issue