Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Guyer <sam.guyer@gmail.com>2020-12-28 19:23:35 +0300
committerGitHub <noreply@github.com>2020-12-28 19:23:35 +0300
commita3ff33e74f9896f8ba5a56c88579c0295b20d2df (patch)
tree9d6917f0e9bf84514268731b273aafaf608fe033
parent5d8eb4437878df43dd4a41964cc25242a382cdf7 (diff)
parentda9087ee6ff55c9d0c77cf5462574c743c4ffb5a (diff)
Merge pull request #1127 from drzony/esp32-compile-fix
Compilation fix when using I2S on ESP32
-rw-r--r--src/platforms/esp/32/clockless_rmt_esp32.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/platforms/esp/32/clockless_rmt_esp32.cpp b/src/platforms/esp/32/clockless_rmt_esp32.cpp
index 20db5351..658f6daa 100644
--- a/src/platforms/esp/32/clockless_rmt_esp32.cpp
+++ b/src/platforms/esp/32/clockless_rmt_esp32.cpp
@@ -1,6 +1,8 @@
#ifdef ESP32
+#ifndef FASTLED_ESP32_I2S
+
#define FASTLED_INTERNAL
#include "FastLED.h"
@@ -434,4 +436,6 @@ void ESP32RMTController::convertByte(uint32_t byteval)
}
}
-#endif
+#endif // ! FASTLED_ESP32_I2S
+
+#endif // ESP32