• Jonathan Hogg's avatar
    esp32/esp32_rmt: Properly fix looping behaviour of RMT. · 7dbef537
    Jonathan Hogg authored
    A previous commit 3a9d9480 can cause
    lock-ups of the RMT driver, so this commit reverses that, adds a loop_en
    flag, and explicitly controls the TX interrupt in write_pulses().  This
    provides correct looping, non-blocking writes and sensible behaviour for
    wait_done().
    
    See also #6167.
    7dbef537
esp32_rmt.c 11 KB