We do need the translation, as it's not one, but generation of \n\r
Signed-off-by: Michel Pollet <buserror@gmail.com>
{ AVR_MCU_VCD_SYMBOL("GPIOR1"), .what = (void*)&GPIOR1, },
};
{ AVR_MCU_VCD_SYMBOL("GPIOR1"), .what = (void*)&GPIOR1, },
};
-static int uart_putchar(char c, FILE *stream) {
-#if 0 // don't want character translation for this test
+static int uart_putchar(char c, FILE *stream)
+{
if (c == '\n')
uart_putchar('\r', stream);
if (c == '\n')
uart_putchar('\r', stream);
loop_until_bit_is_set(UCSR0A, UDRE0);
UDR0 = c;
return 0;
loop_until_bit_is_set(UCSR0A, UDRE0);
UDR0 = c;
return 0;