static int my_uart_put (const char d, FILE *stream) { if (d == '\n') my_uart_put('\r', stream); while (!(usart(UCSR,A) & _BV(usart(UDRE)))); usart(UDR) = d; return 0; }
int noinline my_uart_put (char d, FILE *stream) { if (d == '\n') my_uart_put('\r', stream); while (!(usart(UCSR,A) & _BV(usart(UDRE)))); usart(UDR) = d; return 0; }