diff options
author | Sam Guyer <sam.guyer@gmail.com> | 2020-12-04 03:37:25 +0300 |
---|---|---|
committer | Sam Guyer <sam.guyer@gmail.com> | 2020-12-04 03:37:25 +0300 |
commit | dadd91903debbe402a0a521902cca90b73d1cfe5 (patch) | |
tree | 4949a8e81caec4c6b08417244415dd97ef3a850e | |
parent | a62c7451d5603c680289c10930b19634730dcfc0 (diff) |
Oops. Maybe I should compile it before I push it.
-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 e4b6840c..61f6801c 100644 --- a/src/platforms/esp/32/clockless_rmt_esp32.cpp +++ b/src/platforms/esp/32/clockless_rmt_esp32.cpp @@ -273,8 +273,8 @@ void ESP32RMTController::doneOnChannel(rmt_channel_t channel, void * arg) // -- Turn off the interrupts // rmt_set_tx_intr_en(channel, false); - RMT.int_ena.val &= ~(1 << (mRMT_channel * 3)); - RMT.int_ena.val |= (enable << (mRMT_channel * 3)); + RMT.int_ena.val &= ~(1 << (channel * 3)); + // Not needed: RMT.int_ena.val |= (false << (mRMT_channel * 3)); gOnChannel[channel] = NULL; gNumDone++; |