start refactoring transmitting
This commit is contained in:
parent
8fe627e6b0
commit
03cadcdd58
@ -64,7 +64,7 @@ void my_setup_2() {
|
||||
}
|
||||
|
||||
void my_loop() {
|
||||
show(DEBUG_2, TOGGLE);
|
||||
// show(DEBUG_2, TOGGLE);
|
||||
|
||||
schExec();
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user