mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_HAL: use common macro for printf formatting
This commit is contained in:
parent
dc95145de2
commit
2322b8014d
@ -4,6 +4,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <AP_Common/AP_Common.h>
|
||||
|
||||
#include "AP_HAL_Namespace.h"
|
||||
#include "utility/BetterStream.h"
|
||||
|
||||
@ -51,10 +53,8 @@ public:
|
||||
*/
|
||||
void print_P(const prog_char_t *s);
|
||||
void println_P(const prog_char_t *s);
|
||||
void printf(const char *s, ...)
|
||||
__attribute__ ((format(__printf__, 2, 3)));
|
||||
void _printf_P(const prog_char *s, ...)
|
||||
__attribute__ ((format(__printf__, 2, 3)));
|
||||
void printf(const char *s, ...) FORMAT(2, 3);
|
||||
void _printf_P(const prog_char *s, ...) FORMAT(2, 3);
|
||||
|
||||
void vprintf(const char *s, va_list ap);
|
||||
void vprintf_P(const prog_char *s, va_list ap);
|
||||
|
Loading…
Reference in New Issue
Block a user