diff options
author | 2015-01-04 17:22:06 +0900 | |
---|---|---|
committer | 2015-01-04 17:22:06 +0900 | |
commit | 3dbb762dcc5b1d340cb145fc4ca60748ccf7c890 (patch) | |
tree | 2cf2fe560e83fef19c9a99adcc5d2b2300145bfc /common/print.c | |
parent | 06527bde4f873ffc6eb8e359fb3b150e880b89ba (diff) | |
parent | d0fefb76f8a1430c749e67bc72b4dba00c7143c9 (diff) | |
download | qmk_firmware-3dbb762dcc5b1d340cb145fc4ca60748ccf7c890.tar.gz |
Merge branch 'mbed_infinity'
Diffstat (limited to 'common/print.c')
-rw-r--r-- | common/print.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/common/print.c b/common/print.c index c13a29f31..ca94e1e5d 100644 --- a/common/print.c +++ b/common/print.c @@ -22,13 +22,14 @@ * THE SOFTWARE. */ -#include <avr/io.h> -#include <avr/pgmspace.h> +#include <stdint.h> #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 |