summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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