AP_Common: fixed printf format errors

This commit is contained in:
Andrew Tridgell 2021-08-04 12:44:31 +10:00
parent 7cdd18924e
commit a49f5b92e2

View File

@ -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);