summaryrefslogtreecommitdiffstats
path: root/keyboards/at_at/660m/660m.c
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2020-08-25 12:02:32 +0300
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit15df82cdf3f5b5d81af2cc235fbfe7643cd044b9 (patch)
tree629f9bbdd9efca99cdf89d3c33c16d7aba4a2aab /keyboards/at_at/660m/660m.c
parent1de39e5632a1cc9c4541a6b62b6eb3b360ce8747 (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 'keyboards/at_at/660m/660m.c')
0 files changed, 0 insertions, 0 deletions