Skip to content

Commit 827302b

Browse files
authored
Fixes ESP32-S2 CDC Debug Logging
1 parent 38c3f48 commit 827302b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/USBCDC.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ void tud_cdc_tx_complete_cb(uint8_t itf){
7474

7575
static void ARDUINO_ISR_ATTR cdc0_write_char(char c){
7676
if(devices[0] != NULL){
77-
devices[0]->write(c);
77+
tud_cdc_n_write_char(0, c);
7878
}
7979
}
8080

0 commit comments

Comments
 (0)