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-07 21:10:39 +0300
committerSam Guyer <sam.guyer@gmail.com>2020-12-07 21:10:39 +0300
commit6da23846f92a101db0aca72580693fc7e536085c (patch)
treeff691dc9d2e91ec905aa34c10259a87cfd220988
parentdadd91903debbe402a0a521902cca90b73d1cfe5 (diff)
Back out the inlining of rmt_tx_start -- there is more to it than just setting this bit in the registers
-rw-r--r--src/platforms/esp/32/clockless_rmt_esp32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platforms/esp/32/clockless_rmt_esp32.cpp b/src/platforms/esp/32/clockless_rmt_esp32.cpp
index 61f6801c..2e4f34af 100644
--- a/src/platforms/esp/32/clockless_rmt_esp32.cpp
+++ b/src/platforms/esp/32/clockless_rmt_esp32.cpp
@@ -252,8 +252,8 @@ void ESP32RMTController::startOnChannel(int channel)
// Setting this RMT flag is what actually kicks off the peripheral
void ESP32RMTController::tx_start()
{
- //rmt_tx_start(mRMT_channel, true);
- RMT.conf_ch[mRMT_channel].conf1.tx_start = 1;
+ rmt_tx_start(mRMT_channel, true);
+ //RMT.conf_ch[mRMT_channel].conf1.tx_start = 1;
mLastFill = __clock_cycles();
}