Does SBUS trainer still have reboots with this fix?

This commit is contained in:
bsongis
2014-10-24 12:18:41 +02:00
parent 1066176b0f
commit 2673ab9b8f
2 changed files with 15 additions and 7 deletions
@@ -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)