diff options
author | Sergey Vlasov <sigprof@gmail.com> | 2020-08-25 12:02:32 +0300 |
---|---|---|
committer | Drashna Jael're <drashna@live.com> | 2020-09-30 03:42:50 -0700 |
commit | 7b4d9fc7c14b83106cb1862ca3951c8285f4d6e2 (patch) | |
tree | 31bf83a7c729266c28a4cd7dfcdbe75823a89993 /Makefile | |
parent | d5f4fc7c2e61ccbf56ddd23be1ed14052c2f8dc0 (diff) |
Fix DMA stream ID calculation in ws2812_pwm (#10008)
Some STM32 chips have STM32_DMA1_STREAM1 as the first DMA stream, others
(F4xx, F7xx, H7xx) have STM32_DMA1_STREAM0. Instead of those names, use
STM32_DMA_STREAM(0), which should always give the first stm32_dma_stream_t
structure in the DMA streams array, so that the stream ID would be
calculated correctly.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions