start refactoring transmitting
This commit is contained in:
@ -287,7 +287,7 @@ void mbusCommISR() {
|
||||
}
|
||||
|
||||
if ((isrflags & USART_SR_TC) != RESET) {
|
||||
colorMsg(LOG_RED, false, "TC");
|
||||
coloredMsg(LOG_RED, false, "TC");
|
||||
__HAL_UART_DISABLE_IT(&mbusUart, UART_IT_TC);
|
||||
mbusCommHandle.state = MBCS_SENDING_DONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user