From d44ff23f0dc1d84a600bc378992e423d8913d075 Mon Sep 17 00:00:00 2001 From: "Mr. Green's Workshop" <76992231+MrGreensWorkshop@users.noreply.github.com> Date: Sat, 23 Jul 2022 01:21:03 +0900 Subject: [PATCH] disable connection checking made with DTR explained in #32 --- src/cdc_uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cdc_uart.c b/src/cdc_uart.c index 8f20fef96..aad2d82dc 100644 --- a/src/cdc_uart.c +++ b/src/cdc_uart.c @@ -46,7 +46,7 @@ void cdc_task(void) { rx_buf[rx_len++] = uart_getc(PICOPROBE_UART_INTERFACE); } - if (tud_cdc_connected()) { + if (tud_ready()) { // Do we have anything to display on the host's terminal? if (rx_len) { for (uint i = 0; i < rx_len; i++) {