Merge pull request #2722 from jr-oss/stm32_buffered_uart_wake_receive_task_on_time
STM32 BufferedUart: wake receive task for each received byte
This commit is contained in:
commit
29d388042c
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ impl<T: BasicInstance> interrupt::typelevel::Handler<T::Interrupt> for Interrupt
|
||||||
// FIXME: Should we disable any further RX interrupts when the buffer becomes full.
|
// FIXME: Should we disable any further RX interrupts when the buffer becomes full.
|
||||||
}
|
}
|
||||||
|
|
||||||
if state.rx_buf.is_full() {
|
if !state.rx_buf.is_empty() {
|
||||||
state.rx_waker.wake();
|
state.rx_waker.wake();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue