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

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

#
# old_revision [23a3e9a50b4034343e3bd217d2c225dcaec064dd]
# new_revision [81e4dce274e79dd9187ed4bd182e1d6fc0fdfb37]
#
# patch "uart.c"
#  from [37a2e0459886f7f9c4e4a5361e21d50902dbe3f7]
#    to [7a38c486dc1280695e1e62c6d3a76d6c9f849f67]
#
============================================================
--- uart.c	37a2e0459886f7f9c4e4a5361e21d50902dbe3f7
+++ uart.c	7a38c486dc1280695e1e62c6d3a76d6c9f849f67
@@ -38,6 +38,8 @@ void __attribute__((interrupt("IRQ"))) u
 
 void __attribute__((interrupt("IRQ"))) uart_interrupt_handler(void);
 
+#ifdef USE_UART
+
 void init_uart(void)
 {
 	UREG(FDR) = 0x10; /* DivAddVal = 0, MulVal = 1 */
@@ -205,3 +207,4 @@ bool getch(char *c) {
 	uart_rxread = (uart_rxread + 1) % UART_RXBUFSIZE;
 	return TRUE;
 }
+#endif