mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
parent
7a84a5cf73
commit
e1c70033d5
1 changed files with 9 additions and 0 deletions
|
@ -451,6 +451,15 @@ void uartIrqHandler(uartPort_t *s)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (__HAL_UART_GET_IT(huart, UART_IT_IDLE)) {
|
||||||
|
if (s->port.idleCallback) {
|
||||||
|
s->port.idleCallback();
|
||||||
|
}
|
||||||
|
|
||||||
|
__HAL_UART_CLEAR_IDLEFLAG(huart);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_DMA
|
#ifdef USE_DMA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue