projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
uart: Do not assume all interupt vectors are available, etc
[simavr]
/
tests
/
atmega88_uart_echo.c
diff --git
a/tests/atmega88_uart_echo.c
b/tests/atmega88_uart_echo.c
index
17be737
..
e65fd56
100644
(file)
--- a/
tests/atmega88_uart_echo.c
+++ b/
tests/atmega88_uart_echo.c
@@
-37,8
+37,10
@@
const struct avr_mmcu_vcd_trace_t _mytrace[] _MMCU_ = {
};
static int uart_putchar(char c, FILE *stream) {
- if (c == '\r')
+#if 0 // don't want character translation for this test
+ if (c == '\n')
uart_putchar('\r', stream);
+#endif
loop_until_bit_is_set(UCSR0A, UDRE0);
UDR0 = c;
return 0;