mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-18 23:03:15 +00:00
Fix for module boot issue?
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user