From 545abc6b6fccd1de4c8e4b95b83a453ce31c90ac Mon Sep 17 00:00:00 2001 From: jaseg Date: Tue, 17 Apr 2018 10:40:11 +0200 Subject: Fix flickering during UART communication --- firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/main.c b/firmware/main.c index 0371056..1c45dc3 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -163,7 +163,7 @@ int main(void) { /* Configure Timer 1 update (overrun) interrupt on NVIC. * Used only for update (overrun) for strobe timing. */ NVIC_EnableIRQ(TIM1_BRK_UP_TRG_COM_IRQn); - NVIC_SetPriority(TIM1_BRK_UP_TRG_COM_IRQn, 2); + NVIC_SetPriority(TIM1_BRK_UP_TRG_COM_IRQn, 1); /* Pre-load initial values, kick of first interrupt */ TIM1->EGR |= TIM_EGR_UG; -- cgit