hubmartin / WS2812B_STM32F4

WS2812 DMA library with low RAM needs. Up to 16 paralel outputs and thousands of LEDs on each of them
MIT License
116 stars 33 forks source link

Fix DMA deinit #8

Closed hubmartin closed 4 years ago

hubmartin commented 4 years ago

DMA DeInit now clears also callbacks

https://github.com/STMicroelectronics/STM32CubeF4/blob/master/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c#L355

Fix should be to move callbacks after the DeInit is called. Please test and let me know. I do not use Windows or Atooliv/STM32IDE anymore.