From b3c6320899d6b27899ab3c67c745e8d3b29af3a2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Feb 2019 13:46:18 +0000 Subject: working ethernet --- 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 286d4d2..4a46f3f 100644 --- a/app/stdio.c +++ b/app/stdio.c @@ -27,7 +27,7 @@ _write (int file, int ret; - ret = usart6_write (buf, nbytes, 1); + ret = usart1_write (buf, nbytes, 1); if (ret < 0) { errno = -ret; @@ -77,5 +77,5 @@ isatty (int file) void stdio_drain (void) { - usart6_drain(); + usart1_drain(); } -- cgit v1.2.3