From 5d9d373a959271b498710817d08c2ea8e153aa6e Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 13 Oct 2011 20:33:30 +0200 Subject: correct firmware?? --- firmware/debug.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'firmware/debug.h') 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); -- cgit v1.2.1