Skip to content

Commit edf5ecf

Browse files
authored
Fixes ESP32-S2 CDC Debug Logging (espressif#7284)
1 parent 9d0274b commit edf5ecf

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
@@ -79,7 +79,7 @@ void tud_cdc_tx_complete_cb(uint8_t itf){
7979

8080
static void ARDUINO_ISR_ATTR cdc0_write_char(char c){
8181
if(devices[0] != NULL){
82-
devices[0]->write(c);
82+
tud_cdc_n_write_char(0, c);
8383
}
8484
}
8585

0 commit comments

Comments
 (0)