1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

Missing RX interrupt on external module

This commit is contained in:
Bertrand Songis 2019-02-25 08:08:54 +01:00
parent bc6834cde4
commit 28b22eb131

View file

@ -149,7 +149,7 @@ void extmoduleInvertedSerialStart(uint32_t baudrate)
extmoduleFifo.clear();
USART_ITConfig(INTMODULE_USART, USART_IT_RXNE, ENABLE);
USART_ITConfig(EXTMODULE_USART, USART_IT_RXNE, ENABLE);
NVIC_SetPriority(EXTMODULE_USART_IRQn, 6);
NVIC_EnableIRQ(EXTMODULE_USART_IRQn);
}