diff options
Diffstat (limited to 'uart.c')
-rw-r--r-- | uart.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,7 +13,7 @@ static void uartSend (unsigned char data) { UDR0 = data; } -static int uartPutc (char c, FILE *stream) { +static int uartPutc (char c, FILE *stream __unused__) { if (c == '\n') { uartSend ('\r'); } @@ -48,10 +48,12 @@ void uartInit () { stdout = &mystdout; } +#if 0 +/* unused */ static unsigned char uartReceive () { /* Wait for data to be received */ while ( !(UCSR0A & (1<<RXC0)) ); /* Get and return received data from buffer */ return UDR0; } - +#endif |