summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-23 20:42:48 +0000
committer(no author) <(no author)@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-08-23 20:42:48 +0000
commit767a06ec648b9242cba5bb1dddfef08137d7b7dc (patch)
tree020a9542e0dba139ee09797a95831e1811532a40
parent5427fce50c4167c14dfd046f17c81ec184f5ef20 (diff)
fix compilation without DEBUG=1
git-svn-id: https://svn.openpcd.org:2342/trunk@131 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
-rw-r--r--openpcd/firmware/src/dbgu.c4
1 files changed, 3 insertions, 1 deletions
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
personal git repositories of Harald Welte. Your mileage may vary