mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_GPS: correct format string warnings in SBF driver
This commit is contained in:
parent
df01bed14f
commit
46ad04aab7
@ -371,8 +371,8 @@ void AP_GPS_SBF::broadcast_configuration_failure_reason(void) const
|
||||
{
|
||||
if (gps._auto_config != AP_GPS::GPS_AUTO_CONFIG_DISABLE &&
|
||||
_init_blob_index < ARRAY_SIZE(_initialisation_blob)) {
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "GPS %d: SBF is not fully configured (%d/%d)", state.instance + 1,
|
||||
_init_blob_index, ARRAY_SIZE(_initialisation_blob));
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "GPS %u: SBF is not fully configured (%u/%u)", state.instance + 1,
|
||||
_init_blob_index, (unsigned)ARRAY_SIZE(_initialisation_blob));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user