forked from espressif/arduino-esp32
Improve CDC Logging support
This commit is contained in:
@ -315,6 +315,7 @@ uint32_t USBCDC::baudRate()
|
||||
void USBCDC::setDebugOutput(bool en)
|
||||
{
|
||||
if(en) {
|
||||
uartSetDebug(NULL);
|
||||
ets_install_putc1((void (*)(char)) &cdc0_write_char);
|
||||
} else {
|
||||
ets_install_putc1(NULL);
|
||||
|
Reference in New Issue
Block a user