From 48c1b5800ee8d1059c33846df36afc24d0fba8b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Wed, 24 Mar 2021 00:18:45 +0100 Subject: [PATCH] application: remove UART since we will use the pins --- application.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/application.c b/application.c index c2001ea..00034f7 100644 --- a/application.c +++ b/application.c @@ -55,12 +55,10 @@ size_t putc(char c) static char last_c = 0; // to remember on which character we last sent if ('\n' == c) { // send carriage return (CR) + line feed (LF) newline for each LF if ('\r' != last_c) { // CR has not already been sent - uart_putchar_nonblocking('\r'); // send CR over USART usb_cdcacm_putchar('\r'); // send CR over USB length++; // remember we printed 1 character } } - uart_putchar_nonblocking(c); // send byte over USART usb_cdcacm_putchar(c); // send byte over USB length++; // remember we printed 1 character last_c = c; // remember last character @@ -372,7 +370,6 @@ void main(void) #endif board_setup(); // setup board - uart_setup(); // setup USART (for printing) usb_cdcacm_setup(); // setup USB CDC ACM (for printing) puts("\nwelcome to the CuVoodoo I/O finder\n"); // print welcome message