The unified diff between revisions [1dfe3b7e..] and [9142f333..] 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 [1dfe3b7eee76f3c8aea3b33932857682ee17701c]
# new_revision [9142f3330490a5aa00c1686475633b620c2ef5e7]
#
# patch "uart.h"
#  from [2d08795e26e7e976bded494c773936c5f91d1b69]
#    to [0e400c96fd36e3b821c79f86ab43102f9be607c7]
#
============================================================
--- uart.h	2d08795e26e7e976bded494c773936c5f91d1b69
+++ uart.h	0e400c96fd36e3b821c79f86ab43102f9be607c7
@@ -1,11 +1,25 @@
 #ifndef __UART_H
 #define __UART_H
 
+#include "types.h"
+
+#ifdef USE_UART
 void init_uart(void);
 void putch(char c);
+void putch_irq(char c);
 void putstr(char *s);
 void putint(unsigned int n);
+void putint_s(int n);
 void puthex(unsigned int n);
-char getch(void);
+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 */