summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.net>2018-04-17 10:40:11 +0200
committerjaseg <git@jaseg.net>2018-04-17 10:40:11 +0200
commit545abc6b6fccd1de4c8e4b95b83a453ce31c90ac (patch)
treea1ba0da32878a418151737ce57a4c90c05717ec7
parente1bfe8e72e6c13abb8bfb6a5dc8429133f3f703c (diff)
downloadolsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.tar.gz
olsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.tar.bz2
olsndot-545abc6b6fccd1de4c8e4b95b83a453ce31c90ac.zip
Fix flickering during UART communication
-rw-r--r--firmware/main.c2
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;