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