summaryrefslogtreecommitdiffstats
path: root/app/stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/stdio.c')
-rw-r--r--app/stdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/stdio.c b/app/stdio.c
index 4a46f3f..9a8c74a 100644
--- a/app/stdio.c
+++ b/app/stdio.c
@@ -27,7 +27,7 @@ _write (int file,
int ret;
- ret = usart1_write (buf, nbytes, 1);
+ ret = usart2_write (buf, nbytes, 1);
if (ret < 0) {
errno = -ret;
@@ -77,5 +77,5 @@ isatty (int file)
void stdio_drain (void)
{
- usart1_drain();
+ usart2_drain();
}