Fix for module boot issue?

This commit is contained in:
Pascal Langer committed 2021-03-13 18:18:07 +01:00
1 parent 732e66cab2
commit dbc33951a4
4 files changed
+10 -2

No files matched your search

+6
View File
@@ -1159,6 +1159,12 @@ void TelemetryUpdate()
}
#ifdef STM32_BOARD
}
else if(USART3_BASE->SR & USART_SR_RXNE)
{ //Should not get here...
uint8_t dummy = USART3_BASE->DR;
dummy++;
USART3_BASE->CR1 &= ~ USART_CR1_RE; // Disable receive
}
#endif
}
#else //BASH_SERIAL