From cb52b064a830883bc5aaa65b311d67b90b585178 Mon Sep 17 00:00:00 2001 From: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Date: Tue, 24 Nov 2020 20:49:55 +0800 Subject: [PATCH] Update uart.cpp --- firmware/MMU2/src/uart.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/firmware/MMU2/src/uart.cpp b/firmware/MMU2/src/uart.cpp index 1bbc1af..e8accaa 100644 --- a/firmware/MMU2/src/uart.cpp +++ b/firmware/MMU2/src/uart.cpp @@ -36,13 +36,6 @@ int uart1_getchar(FILE *) return Serial1.read(); } - -void uart0_init(void) -{ - Serial.begin(UART0_BDR, SERIAL_8N1); //serial0 - USB - //fdev_setup_stream(uart0io, uart0_putchar, uart0_getchar, _FDEV_SETUP_WRITE | _FDEV_SETUP_READ); //setup uart in/out stream -} - void uart1_init(void) { Serial1.begin(UART1_BDR, SERIAL_8N1); //serial1