diff options
author | Sam Guyer <sam.guyer@gmail.com> | 2020-12-07 21:10:39 +0300 |
---|---|---|
committer | Sam Guyer <sam.guyer@gmail.com> | 2020-12-07 21:10:39 +0300 |
commit | 6da23846f92a101db0aca72580693fc7e536085c (patch) | |
tree | ff691dc9d2e91ec905aa34c10259a87cfd220988 | |
parent | dadd91903debbe402a0a521902cca90b73d1cfe5 (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.cpp | 4 |
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(); } |