The unified diff between revisions [8760ae92..] and [81e4dce2..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'uart.h'

#
# old_revision [8760ae9232295422550b79f09e55122390704b3c]
# new_revision [81e4dce274e79dd9187ed4bd182e1d6fc0fdfb37]
#
# add_file "uart.h"
#  content [86972bb7765797e0b5e660710beed2a9bbd9ec13]
#
============================================================
--- /dev/null	
+++ uart.h	86972bb7765797e0b5e660710beed2a9bbd9ec13
@@ -0,0 +1,24 @@
+#ifndef __UART_H
+#define __UART_H
+
+#include "types.h"
+
+#ifdef USE_UART
+void init_uart(void);
+void putch(char c);
+void putstr(char *s);
+void putint(unsigned int n);
+void putint_s(int n);
+void puthex(unsigned int n);
+bool getch(char *c);
+#else
+#define init_uart() ((void)0)
+#define putch(x) ((void)0)
+#define putstr(x) ((void)0)
+#define putint(x) ((void)0)
+#define putint_s(x) ((void)0)
+#define puthex(x) ((void)0)
+#define getch(x) (FALSE)
+#endif
+
+#endif /* __UART_H */