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

@@ -30,6 +30,7 @@ License along with NeoPixel. If not, see
#include <Arduino.h>
#if defined(ARDUINO_ARCH_ESP32)
#if !defined(WLED_USE_SHARED_RMT) && !defined(__riscv) && (ESP_IDF_VERSION_MAJOR >= 4) // WLEDMM don't compile this file on unsupported platforms
#include <algorithm>
#include "esp_idf_version.h"
@@ -504,4 +505,5 @@ esp_err_t NeoEsp32RmtHiMethodDriver::WaitForTxDone(rmt_channel_t channel, TickTy
return rv;
}
#endif
#endif