tx cmplt by interrupt

This commit is contained in:
2020-11-02 15:02:39 +01:00
parent e5df9b7d81
commit 628ee68d3d
2 changed files with 23 additions and 2 deletions

View File

@ -64,5 +64,10 @@ void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
if (hadc == &frontendAdc) {
frontendAdcCallback(hadc);
}
}
void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) {
if (huart == &mbusUart) {
mbusCommTxCpltCallback(huart);
}
}