PaulStoffregen / OctoWS2811

Control thousands of WS2811/2812 LEDs at video refresh speeds
http://www.pjrc.com/teensy/td_libs_OctoWS2811.html
267 stars 118 forks source link

Should busy() return true if dma3 not complete? (Teensy 4) #43

Open ssilverman opened 9 months ago

ssilverman commented 9 months ago

https://github.com/PaulStoffregen/OctoWS2811/blob/0e6d2620f2c0b7a4ad64784275e4665dd837628d/OctoWS2811_imxrt.cpp#L366

Is it intended that busy() return true if dma3 isn't complete? The if statement appears to do nothing otherwise. (Unless the act of reading TCD->CSR does some side-effect?)