changes
This commit is contained in:
@ -752,8 +752,8 @@ void mbusCommInit() {
|
|||||||
coloredMsg(LOG_GREEN, true, "mbc mci initializing Meterbus communication");
|
coloredMsg(LOG_GREEN, true, "mbc mci initializing Meterbus communication");
|
||||||
|
|
||||||
// enable receive interrupts
|
// enable receive interrupts
|
||||||
__HAL_UART_ENABLE_IT(&mbusUart, UART_IT_PE);
|
// __HAL_UART_ENABLE_IT(&mbusUart, UART_IT_PE);
|
||||||
__HAL_UART_ENABLE_IT(&mbusUart, UART_IT_ERR);
|
// __HAL_UART_ENABLE_IT(&mbusUart, UART_IT_ERR);
|
||||||
__HAL_UART_ENABLE_IT(&mbusUart, UART_IT_RXNE);
|
__HAL_UART_ENABLE_IT(&mbusUart, UART_IT_RXNE);
|
||||||
|
|
||||||
// init buffers
|
// init buffers
|
||||||
|
Reference in New Issue
Block a user