mirror of https://github.com/ArduPilot/ardupilot
Tools: fixed printf format errors
This commit is contained in:
parent
cb462cac6e
commit
751b901ed9
|
@ -46,7 +46,7 @@ void led_toggle(unsigned led);
|
|||
|
||||
// printf to debug uart (or USB)
|
||||
extern "C" {
|
||||
void uprintf(const char *fmt, ...);
|
||||
void uprintf(const char *fmt, ...) FMT_PRINTF(1,2);
|
||||
}
|
||||
|
||||
// generate a LED sequence forever
|
||||
|
|
|
@ -243,6 +243,6 @@ namespace AP
|
|||
extern AP_Periph_FW periph;
|
||||
|
||||
extern "C" {
|
||||
void can_printf(const char *fmt, ...);
|
||||
void can_printf(const char *fmt, ...) FMT_PRINTF(1,2);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue