mirror of https://github.com/arendst/Tasmota.git
Fix S2 core3 compiles
This commit is contained in:
parent
b65f32c5f3
commit
26f14caee9
|
@ -223,12 +223,13 @@ bool tasconsole_serial = false;
|
|||
|
||||
#if ARDUINO_USB_MODE
|
||||
//#warning **** TasConsole ARDUINO_USB_MODE ****
|
||||
//HWCDC HWCDCSerial; // Already defined in HWCDC.cpp
|
||||
TASCONSOLE TasConsole{HWCDCSerial}; // ESP32C3/C6/S3 embedded USB using JTAG interface
|
||||
//#warning **** TasConsole uses HWCDC ****
|
||||
#else // No ARDUINO_USB_MODE
|
||||
#include "USB.h"
|
||||
#include "USBCDC.h"
|
||||
USBCDC USBSerial; // ESP32Sx embedded USB interface
|
||||
//USBCDC USBSerial; // Already defined in USBCDC.cpp
|
||||
TASCONSOLE TasConsole{USBSerial}; // ESP32Sx embedded USB interface
|
||||
//#warning **** TasConsole uses USBCDC ****
|
||||
#endif // ARDUINO_USB_MODE
|
||||
|
|
Loading…
Reference in New Issue