diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2011-10-13 20:33:30 +0200 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2011-10-13 20:33:30 +0200 |
commit | 5d9d373a959271b498710817d08c2ea8e153aa6e (patch) | |
tree | 6867e887454a850b4e15616000ef342a1c661c7e /firmware/debug.h | |
parent | 35a36b0a6c69ce136fd6ea2a203d34e48e1291e8 (diff) | |
download | mini-octopus-5d9d373a959271b498710817d08c2ea8e153aa6e.tar.gz mini-octopus-5d9d373a959271b498710817d08c2ea8e153aa6e.zip |
correct firmware??
Diffstat (limited to 'firmware/debug.h')
-rw-r--r-- | firmware/debug.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/firmware/debug.h b/firmware/debug.h index 202ef22..8aa15d9 100644 --- a/firmware/debug.h +++ b/firmware/debug.h @@ -1,12 +1,5 @@ -#ifdef DEBUG -#define debugf printf("%s,%d: ", __FILE__, __LINE__); printf -#else -#define debugf debug_dummy -#endif - -void debug_dummy(char *fmt, ...); void debug_init(void); -int debug_putchar(char c, FILE *stream); void debug_deinit(void); +void debug_write(char *buf); unsigned char debug_AsciiToHex(unsigned char high, unsigned char low); void debug_SendHex(unsigned char hex); |