diff options
author | jaseg <git@jaseg.net> | 2018-04-17 10:40:11 +0200 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2018-04-17 10:40:11 +0200 |
commit | 545abc6b6fccd1de4c8e4b95b83a453ce31c90ac (patch) | |
tree | a1ba0da32878a418151737ce57a4c90c05717ec7 | |
parent | e1bfe8e72e6c13abb8bfb6a5dc8429133f3f703c (diff) | |
download | olsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.tar.gz olsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.tar.bz2 olsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.zip |
Fix flickering during UART communication
-rw-r--r-- | firmware/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |