1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

OP-1312 Fixes the flicker issue in Revo. Raised the Transfer complete irq priotity to prevent delays stopping the timer.

This commit is contained in:
Alessio Morale 2014-05-11 10:43:24 +02:00
parent 19caa57dc6
commit 711c5ea79d
2 changed files with 2 additions and 2 deletions

View File

@ -1864,7 +1864,7 @@ const struct pios_ws2811_cfg pios_ws2811_cfg = {
.flags = (DMA_IT_TCIF1),
.init = {
.NVIC_IRQChannel = DMA2_Stream1_IRQn,
.NVIC_IRQChannelPreemptionPriority = PIOS_IRQ_PRIO_HIGH,
.NVIC_IRQChannelPreemptionPriority = PIOS_IRQ_PRIO_HIGHEST,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},

View File

@ -2085,7 +2085,7 @@ const struct pios_ws2811_cfg pios_ws2811_cfg = {
.flags = (DMA_IT_TCIF1),
.init = {
.NVIC_IRQChannel = DMA2_Stream1_IRQn,
.NVIC_IRQChannelPreemptionPriority = PIOS_IRQ_PRIO_HIGH,
.NVIC_IRQChannelPreemptionPriority = PIOS_IRQ_PRIO_HIGHEST,
.NVIC_IRQChannelSubPriority = 0,
.NVIC_IRQChannelCmd = ENABLE,
},