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-16 00:01:15 +0300
committerSam Guyer <sam.guyer@gmail.com>2020-12-16 00:01:15 +0300
commitfdba020808ed6c384114e8573b8ff9c43d2b6abd (patch)
tree9e4baf3e51f9918f4f4b7e3e1755c034682b148e /src/platforms/esp/32/clockless_rmt_esp32.h
parentfed7c1c58336790ce0e5e45fd7c5f33d123e4a8f (diff)
Fix for issue #1130: don't use pin 0 to configure the RMT device
Diffstat (limited to 'src/platforms/esp/32/clockless_rmt_esp32.h')
-rw-r--r--src/platforms/esp/32/clockless_rmt_esp32.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/platforms/esp/32/clockless_rmt_esp32.h b/src/platforms/esp/32/clockless_rmt_esp32.h
index 68861b50..2e723179 100644
--- a/src/platforms/esp/32/clockless_rmt_esp32.h
+++ b/src/platforms/esp/32/clockless_rmt_esp32.h
@@ -239,8 +239,9 @@ public:
uint32_t * getPixelBuffer(int size_in_bytes);
// -- Initialize RMT subsystem
- // This only needs to be done once
- static void init();
+ // This only needs to be done once. The particular pin is not important,
+ // because we need to configure the RMT channels on the fly.
+ static void init(gpio_num_t pin);
// -- Show this string of pixels
// This is the main entry point for the pixel controller