STM32 BufferedUart: wake receive task for each received byte
Fixes https://github.com/embassy-rs/embassy/issues/2719
This commit is contained in:
		
							parent
							
								
									562152c43c
								
							
						
					
					
						commit
						08e2ba9d74
					
				| @ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user