WLEDMM_NO_FILEWAIT => WLEDMM_FILEWAIT

reversed the logic, to make it more straight forward.
This commit is contained in:
Frank
2026-01-06 19:02:45 +01:00
parent fafcbf9cf4
commit ad0409789e
2 changed files with 5 additions and 5 deletions

View File

@@ -182,9 +182,9 @@
// WLEDMM: Do we have the flicker-free RMTHI driver?
#if defined(ARDUINO_ARCH_ESP32)
#if !defined(WLED_USE_SHARED_RMT) && !defined(__riscv) && (ESP_IDF_VERSION_MAJOR >= 4)
#define WLEDMM_NO_FILEWAIT 1
#if !defined(ARDUINO_ARCH_ESP32) || (defined(WLED_USE_SHARED_RMT) || defined(__riscv) || (ESP_IDF_VERSION_MAJOR < 4))
#ifndef WLEDMM_FILEWAIT
#define WLEDMM_FILEWAIT 1 // wait for LEDs output completion before file reading/writing
#endif
#endif