diff options
author | Jack Humbert <jack.humb@gmail.com> | 2015-01-14 22:48:54 -0500 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2015-01-14 22:48:54 -0500 |
commit | a54da1b92663606f5e5c18bc1eaec30c06847da1 (patch) | |
tree | a1b7485debf62a8c52d1db3199436cac2f3ce346 /common/print.c | |
parent | 4225f0353c2eb85fbd8ca0622eb89757975093e4 (diff) | |
parent | 10a6b2c7d8bc9c5d2657acdeefa1102be5035280 (diff) |
Merge remote-tracking branch 'upstream/master'
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 c13a29f317..ca94e1e5d6 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 |