This website works better with JavaScript.
Home
Explore
Help
Sign In
di0ib
/
tmk_keyboard_custom
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Add printf macro as alias of xprintf
keymap_in_eeprom
tmk
10 years ago
parent
04c9501574
commit
d5ecbb83da
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
common/print.h
+ 4
- 0
common/print.h
View File
@@ -40,6 +40,10 @@
#endif
#define println(s) print_P(PSTR(s "\n"))
#ifndef AVR_LIBC_PRINTF
#define printf(f, ...) xprintf(f, ##__VA_ARGS__)
#endif
/* for old name */
#define pdec(data) print_dec(data)
#define pdec16(data) print_dec(data)