From 9ba86559530ea2b79043fb6fde9b7d3ac1723b23 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 5 Feb 2018 15:58:18 +0100 Subject: [PATCH] chg: lesser error message flooding --- uart/uart_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uart/uart_win32.c b/uart/uart_win32.c index 3f434f4f4..3156e10db 100644 --- a/uart/uart_win32.c +++ b/uart/uart_win32.c @@ -154,7 +154,7 @@ uint32_t uart_get_speed(const serial_port sp) { bool uart_receive(const serial_port sp, byte_t* p_rx, size_t pszMaxRxLen, size_t* p_rxlen) { int res = ReadFile(((serial_port_windows*)sp)->hPort, p_rx, pszMaxRxLen, (LPDWORD)p_rxlen, NULL); if ( res == 0 ) { - printf("[!] UART error reading from port\n"); + //printf("[!] UART error reading from port\n"); return false; }