summaryrefslogtreecommitdiff
path: root/flash/minimon/minimon.c
diff options
context:
space:
mode:
Diffstat (limited to 'flash/minimon/minimon.c')
-rw-r--r--flash/minimon/minimon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flash/minimon/minimon.c b/flash/minimon/minimon.c
index f34e94ac62..aca9cb5523 100644
--- a/flash/minimon/minimon.c
+++ b/flash/minimon/minimon.c
@@ -21,7 +21,7 @@ int main(void);
21tpMain start_vector[] __attribute__ ((section (".startvector"))) = {main}; 21tpMain start_vector[] __attribute__ ((section (".startvector"))) = {main};
22 22
23 23
24UINT8 uart_read(void) 24static UINT8 uart_read(void)
25{ 25{
26 UINT8 byte; 26 UINT8 byte;
27 while (!(SSR1 & SCI_RDRF)); // wait for char to be available 27 while (!(SSR1 & SCI_RDRF)); // wait for char to be available
@@ -31,7 +31,7 @@ UINT8 uart_read(void)
31} 31}
32 32
33 33
34void uart_write(UINT8 byte) 34static void uart_write(UINT8 byte)
35{ 35{
36 while (!(SSR1 & SCI_TDRE)); // wait for transmit buffer empty 36 while (!(SSR1 & SCI_TDRE)); // wait for transmit buffer empty
37 TDR1 = byte; 37 TDR1 = byte;