From 74e577ac110513669a6d677842ceca4c5b1252ca Mon Sep 17 00:00:00 2001 From: fishsoupisgood Date: Sat, 4 May 2019 12:37:04 +0100 Subject: cut #1 --- app/stdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/stdio.c') 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(); } -- cgit v1.2.3