From 8e7e3512c105092098d6e3b4ce14515531ecb136 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 17 Apr 2021 19:52:14 +0200 Subject: [PATCH] add C3 variant --- lib/default/TasmotaSerial-3.3.0/src/TasmotaSerial.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/default/TasmotaSerial-3.3.0/src/TasmotaSerial.cpp b/lib/default/TasmotaSerial-3.3.0/src/TasmotaSerial.cpp index 0ea060517..db3e3ccfa 100644 --- a/lib/default/TasmotaSerial-3.3.0/src/TasmotaSerial.cpp +++ b/lib/default/TasmotaSerial-3.3.0/src/TasmotaSerial.cpp @@ -42,6 +42,8 @@ TasmotaSerial *tms_obj_list[16]; static int tasmota_serial_index = 2; // Allow UART2 and UART1 only #elif CONFIG_IDF_TARGET_ESP32S2 // ESP32-S2 static int tasmota_serial_index = 1; // Allow UART1 only +#elif CONFIG_IDF_TARGET_ESP32C3 // ESP32-C3 +static int tasmota_serial_index = 1; // Allow UART1 only #endif #endif // ESP32