Skip to content

Commit

Permalink
disable connection checking made with DTR
Browse files Browse the repository at this point in the history
explained in raspberrypi#32
  • Loading branch information
MrGreensWorkshop authored Jul 22, 2022
1 parent fcb1fab commit d44ff23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cdc_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit d44ff23

Please sign in to comment.