Fix for module boot issue?

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

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