Skip to content

Commit 882fa27

Browse files
authored
Merge pull request #9400 from jepler/issue-9393
serial_bytes_available: don't double-count bytes on usb cdc
2 parents 5e6527f + dc77f31 commit 882fa27

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

supervisor/shared/serial.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -309,10 +309,6 @@ uint32_t serial_bytes_available(void) {
309309
}
310310
#endif
311311

312-
#if CIRCUITPY_USB_DEVICE
313-
count += tud_cdc_available();
314-
#endif
315-
316312
// Board-specific serial input.
317313
count += board_serial_bytes_available();
318314

0 commit comments

Comments
 (0)