receiving

This commit is contained in:
2020-11-02 15:41:07 +01:00
parent 7ec5d0ba35
commit ed02d75f45
3 changed files with 40 additions and 5 deletions

View File

@ -59,7 +59,6 @@ void HAL_GPIO_EXTI_Callback(uint16_t pin) {
}
}
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
if (hadc == &frontendAdc) {
frontendAdcCallback(hadc);
@ -70,4 +69,11 @@ void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) {
if (huart == &mbusUart) {
mbusCommTxCpltCallback(huart);
}
}
}
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) {
if (huart == &mbusUart) {
mbusCommRxCpltCallback(huart);
}
}