Fix flickering during UART communication
This commit is contained in:
parent
e1bfe8e72e
commit
545abc6b6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue