From 66432bd1dd488ac3f7d72153f4960c738f5f8bb9 Mon Sep 17 00:00:00 2001 From: Staars Date: Mon, 2 Dec 2024 09:10:10 +0100 Subject: [PATCH] fix LED, C2 has no i2s --- tasmota/tasmota_xlgt_light/xlgt_01_ws2812_esp32.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xlgt_light/xlgt_01_ws2812_esp32.ino b/tasmota/tasmota_xlgt_light/xlgt_01_ws2812_esp32.ino index 5ff5d94dd129..e6caffc43226 100644 --- a/tasmota/tasmota_xlgt_light/xlgt_01_ws2812_esp32.ino +++ b/tasmota/tasmota_xlgt_light/xlgt_01_ws2812_esp32.ino @@ -97,7 +97,7 @@ const uint16_t kTasLed_Type = kTasLed_PixelSize | kTasLed_PixelOrder | kTasLed_P // select hardware acceleration - bitbanging is not supported on ESP32 due to interference of interrupts #if CONFIG_IDF_TARGET_ESP32C2 - const uint32_t kTasLed_Hardware = TasmotaLed_I2S; // I2S + const uint32_t kTasLed_Hardware = TasmotaLed_SPI; // no I2S for the C2 #else // all other ESP32 variants #if defined(USE_WS2812_DMA) const uint32_t kTasLed_Hardware = TasmotaLed_RMT; // default DMA to RMT