diff options
Diffstat (limited to 'common/print.h')
| -rw-r--r-- | common/print.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/print.h b/common/print.h index 930e84be9..a828328b6 100644 --- a/common/print.h +++ b/common/print.h | |||
| @@ -40,6 +40,10 @@ | |||
| 40 | #endif | 40 | #endif |
| 41 | #define println(s) print_P(PSTR(s "\n")) | 41 | #define println(s) print_P(PSTR(s "\n")) |
| 42 | 42 | ||
| 43 | #ifndef AVR_LIBC_PRINTF | ||
| 44 | #define printf(f, ...) xprintf(f, ##__VA_ARGS__) | ||
| 45 | #endif | ||
| 46 | |||
| 43 | /* for old name */ | 47 | /* for old name */ |
| 44 | #define pdec(data) print_dec(data) | 48 | #define pdec(data) print_dec(data) |
| 45 | #define pdec16(data) print_dec(data) | 49 | #define pdec16(data) print_dec(data) |
