summaryrefslogtreecommitdiff
path: root/src/avr/ao_avr_stdio.c
diff options
context:
space:
mode:
authorBdale Garbee <bdale@gag.com>2013-05-16 00:36:23 -0600
committerBdale Garbee <bdale@gag.com>2013-05-16 00:36:23 -0600
commit02d111b1b53ef01fc6e9ab6c4bc60b8af1be0067 (patch)
tree8356f4a019969ee99a45e264c87d38555cf316cc /src/avr/ao_avr_stdio.c
parent7a2e1f05adad990a6b161865267abf07ffec7a7e (diff)
parent7699a55aed3a9a7daeb4c6a5a9a280f43edf455f (diff)
Merge branch 'branch-1.2' into debian
Diffstat (limited to 'src/avr/ao_avr_stdio.c')
-rw-r--r--src/avr/ao_avr_stdio.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/avr/ao_avr_stdio.c b/src/avr/ao_avr_stdio.c
index 2765853a..f9c0f88c 100644
--- a/src/avr/ao_avr_stdio.c
+++ b/src/avr/ao_avr_stdio.c
@@ -20,16 +20,7 @@
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;
}