fix ieee802154_sniffer example

This commit is contained in:
Juraj Sadel 2025-01-09 14:21:23 +01:00
parent cb5e2ac067
commit 99fa4c39f6

View File

@ -40,7 +40,7 @@ fn main() -> ! {
let mut read = [0u8; 2];
loop {
let mut buff = [0u8; 1];
uart0.read_bytes(&mut buff);
while uart0.read_bytes(&mut buff) == 0 {}
if buff[0] == b'r' {
continue;