fix: (NVIC) Removed

This commit is contained in:
but0n 2017-05-02 12:22:44 +08:00
parent 2746def644
commit c1835e55d4

View File

@ -32,9 +32,6 @@ void uart_init(unsigned int pclk2, unsigned int bound) {
USART1->SR; //Read Reg SR to Clean TXE and TE,(Reset value: 0x00C0)
SCB->AIRCR &= 0x05FAF8FF; // AIRCE Key: 0x05FA
SCB->AIRCR |= 0x05FA0400; // Set up group value
NVIC_EnableIRQ(USART1_IRQn);
NVIC_SetPriority(USART1_IRQn, 3);