From 767a06ec648b9242cba5bb1dddfef08137d7b7dc Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> Date: Wed, 23 Aug 2006 20:42:48 +0000 Subject: fix compilation without DEBUG=1 git-svn-id: https://svn.openpcd.org:2342/trunk@131 6dc7ffe9-61d6-0310-9af1-9938baff3ed1 --- openpcd/firmware/src/dbgu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openpcd/firmware/src/dbgu.c b/openpcd/firmware/src/dbgu.c index 5c4390a..fa2855e 100644 --- a/openpcd/firmware/src/dbgu.c +++ b/openpcd/firmware/src/dbgu.c @@ -320,5 +320,7 @@ void debugp(const char *format, ...) //AT91F_DBGU_Printk(dbg_buf); dbgu_rb_append(dbg_buf, strlen(dbg_buf)); } - +#else +void dbgu_rb_flush(void) {} +void dbgu_rb_init(void) {} #endif -- cgit v1.2.3