Skip to content

Commit 7d08804

Browse files
SuGliderme-no-dev
authored andcommitted
Fixes ESP32-S2 CDC Debug Logging (#7284)
1 parent b87d525 commit 7d08804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/USBCDC.cpp

+1-1
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)