X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=common%2Fprint.c;h=ca94e1e5d6a7ffb9649648ef367b2ab2c5fa21c3;hb=75a59e4d12a13efc03cacd85b394fcf1204aad76;hp=c13a29f3170d57799bf594c3511ee02b4f924217;hpb=ed52ebb9870a26496b13a0565c1aaca8ded3465b;p=max%2Ftmk_keyboard.git diff --git a/common/print.c b/common/print.c index c13a29f3..ca94e1e5 100644 --- a/common/print.c +++ b/common/print.c @@ -22,13 +22,14 @@ * THE SOFTWARE. */ -#include -#include +#include #include "print.h" #ifndef NO_PRINT +#if defined(__AVR__) + #define sendchar(c) xputc(c) @@ -37,4 +38,11 @@ void print_set_sendchar(int8_t (*sendchar_func)(uint8_t)) xdev_out(sendchar_func); } +#elif defined(__arm__) + +// TODO +//void print_set_sendchar(int8_t (*sendchar_func)(uint8_t)) { } + +#endif + #endif