1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

NVIC - Remove outdated comment.

Yes, there is a reason to use DMAIRQHandler, so that the WS2811 dma
transfer complete handler can update the ws2811LedDataTransferInProgress
flag.

Potentially though the timer could be left running and restarted when
the next led strip update occurs and the dma transfer 'numbers of bytes
to transfer' field could be read instead of the
ws2811LedDataTransferInProgress flag...
This commit is contained in:
Dominic Clifton 2022-03-07 15:41:20 +01:00
parent d653dabebb
commit 9ea45b7c37

View file

@ -36,7 +36,7 @@
#define NVIC_PRIO_MPU_INT_EXTI NVIC_BUILD_PRIORITY(0x0f, 0x0f)
#define NVIC_PRIO_MAG_INT_EXTI NVIC_BUILD_PRIORITY(0x0f, 0x0f)
#define NVIC_PRIO_WS2811_DMA NVIC_BUILD_PRIORITY(1, 2) // TODO - is there some reason to use high priority? (or to use DMA IRQ at all?)
#define NVIC_PRIO_WS2811_DMA NVIC_BUILD_PRIORITY(1, 2) // TODO - is there some reason to use high priority?
#define NVIC_PRIO_SERIALUART_TXDMA NVIC_BUILD_PRIORITY(1, 1) // Highest of all SERIALUARTx_TXDMA
#define NVIC_PRIO_SERIALUART1_TXDMA NVIC_BUILD_PRIORITY(1, 1)
#define NVIC_PRIO_SERIALUART1_RXDMA NVIC_BUILD_PRIORITY(1, 1)