mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +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
|
||||
}
|
||||
|
||||
if (__HAL_UART_GET_IT(huart, UART_IT_IDLE)) {
|
||||
if (s->port.idleCallback) {
|
||||
s->port.idleCallback();
|
||||
}
|
||||
|
||||
__HAL_UART_CLEAR_IDLEFLAG(huart);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#ifdef USE_DMA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue