From 2cc87b086b57759ed1fef06b7d13fef19b2ff7d7 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 10 Mar 2024 15:20:43 +0100 Subject: [PATCH] latest Arduinon 3.0.0. needs HWCDC (#20905) --- tasmota/tasmota.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index d58d042aa..ec4a1b93d 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -225,7 +225,9 @@ bool tasconsole_serial = false; #if ARDUINO_USB_MODE //#warning **** TasConsole ARDUINO_USB_MODE **** -//HWCDC HWCDCSerial; // Already defined in HWCDC.cpp +#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(5,1,3)) +HWCDC HWCDCSerial; +#endif TASCONSOLE TasConsole{HWCDCSerial}; // ESP32C3/C6/S3 embedded USB using JTAG interface //#warning **** TasConsole uses HWCDC **** #else // No ARDUINO_USB_MODE