altos: Eliminate stdio looping when system has a single stdio source
[fw/altos] / src / avr / ao_avr_stdio.c
index 2765853aa92237bc3f7c505efcacdec4c777959c..f9c0f88c7e33474f666e4bd04984d3368371bce2 100644 (file)
 int
 stdio_put(char c, FILE *stream)
 {
-       if (ao_cur_task && ao_num_stdios)
-               putchar(c);
-       else
-       {
-               if (c == '\n')
-                       stdio_put('\r', stream);
-               loop_until_bit_is_set(UCSR1A, UDRE1);
-               UDR1 = c;
-       }
-
+       putchar(c);
        return 0;
 }