From a49f5b92e20e08f2b008014f9f02c8b637efc66a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 4 Aug 2021 12:44:31 +1000 Subject: [PATCH] AP_Common: fixed printf format errors --- libraries/AP_Common/NMEA.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/NMEA.h b/libraries/AP_Common/NMEA.h index 3207706a68..3054f443cb 100644 --- a/libraries/AP_Common/NMEA.h +++ b/libraries/AP_Common/NMEA.h @@ -24,4 +24,4 @@ char *nmea_vaprintf(const char *fmt, va_list ap); /* formatted print of NMEA message to a uart, with checksum appended */ -bool nmea_printf(AP_HAL::UARTDriver *uart, const char *fmt, ...); +bool nmea_printf(AP_HAL::UARTDriver *uart, const char *fmt, ...) FMT_PRINTF(2,3);