Does SBUS trainer still have reboots with this fix?
This commit is contained in:
@@ -80,11 +80,10 @@ void telemetryPortInit(uint32_t baudrate)
|
||||
|
||||
USART_Init(SPORT, &USART_InitStructure);
|
||||
USART_Cmd(SPORT, ENABLE);
|
||||
|
||||
USART_ITConfig(SPORT, USART_IT_RXNE, ENABLE);
|
||||
|
||||
NVIC_EnableIRQ(USART2_IRQn);
|
||||
NVIC_SetPriority(USART2_IRQn, 6);
|
||||
NVIC_EnableIRQ(USART2_IRQn);
|
||||
}
|
||||
|
||||
void telemetryPutc(const char c)
|
||||
|
||||
Reference in New Issue
Block a user