overrun error in meterbus uart handled

This commit is contained in:
2020-11-22 21:23:52 +01:00
parent 3fd30aaa36
commit bd435dd5d6
8 changed files with 63 additions and 29 deletions

View File

@ -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);
}
}