- fixed mistake tying half the tri-state buffer bits to always on
[romdev] / fw / src / serial.c
index e318b68..3ca641a 100644 (file)
@@ -54,6 +54,7 @@ int have_input(void)
 static int uart_send_char(char c, FILE *fp)
 {
        /*int next;*/
+       if(c == '\n') uart_send_char('\r', fp);
 
        while((UCSR0A & (1 << UDRE0)) == 0);
        UDR0 = (unsigned char)c;