overrun error in meterbus uart handled
This commit is contained in:
@ -64,7 +64,7 @@ void my_setup_2() {
|
||||
}
|
||||
|
||||
void my_loop() {
|
||||
show(DEBUG_1, TOGGLE);
|
||||
// show(DEBUG_1, TOGGLE);
|
||||
|
||||
schExec();
|
||||
|
||||
@ -111,3 +111,9 @@ void HAL_SPI_TxCpltCallback(SPI_HandleTypeDef *hspi) {
|
||||
eepromSpiTxCpltCallback(hspi);
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart) {
|
||||
if (huart == &mbusUart) {
|
||||
mbusCommErrorCallback(huart);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user