don't compile RMTHI on unsupprted (old) platforms

This commit is contained in:
Frank
2026-01-05 21:23:51 +01:00
parent 86473a85b8
commit 8d41bc409c
4 changed files with 7 additions and 1 deletions

View File

@@ -184,7 +184,7 @@ bool canUseSerial(void); // WLEDMM (wled_serial.cpp) returns true if Serial ca
#endif
// RMT driver selection
// RMT driver selection - only for Xtensa and ESP-IDF 4.x
#if !defined(WLED_USE_SHARED_RMT) && !defined(__riscv) && defined(ARDUINO_ARCH_ESP32) && (ESP_IDF_VERSION_MAJOR >= 4)
#include <NeoEsp32RmtHIMethod.h>