X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=common%2Fprint.h;h=7799328910eb96d93096c9d210c3ebbb6f03e402;hb=ea524d7befeb743c5316cb472f9180536ced5862;hp=a828328b6e15c645d36dbe933d1e04c1dab53a52;hpb=d5ecbb83daa13b806ee4879692aaf807b6b1b69f;p=tmk_firmware.git diff --git a/common/print.h b/common/print.h index a828328..7799328 100644 --- a/common/print.h +++ b/common/print.h @@ -34,16 +34,9 @@ // this macro allows you to write print("some text") and // the string is automatically placed into flash memory :) -// TODO: avoid collision with arduino/Print.h -#ifndef __cplusplus #define print(s) print_P(PSTR(s)) -#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)