start refactoring transmitting

This commit is contained in:
Wolfgang Hottgenroth 2020-11-25 12:46:09 +01:00
parent 8fe627e6b0
commit 03cadcdd58
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
2 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,7 @@ void my_setup_2() {
}
void my_loop() {
show(DEBUG_2, TOGGLE);
// show(DEBUG_2, TOGGLE);
schExec();

View File

@ -267,6 +267,7 @@ void mbusCommISR() {
// RXNE flag is cleared by reading the DR, which is done in any case
if (((isrflags & USART_SR_RXNE) != RESET) || ((isrflags & (USART_SR_ORE | USART_SR_FE | USART_SR_PE)) != RESET)) {
if ((isrflags & USART_SR_ORE) != RESET) {
show(DEBUG_2, TOGGLE);
mbusCommStats.uartOverrunCnt += 1;
}
if ((isrflags & USART_SR_FE) != RESET) {