mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
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
@ -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.
|
||||
}
|
||||
|
||||
if state.rx_buf.is_full() {
|
||||
if !state.rx_buf.is_empty() {
|
||||
state.rx_waker.wake();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user