remove prints in uart Iterator impl

This commit is contained in:
Vladan Popovic 2022-06-20 00:05:57 +02:00
parent fac3115a93
commit f7070e02e7

View file

@ -58,12 +58,9 @@ impl<UART: serial::Uart> Iterator for IterableRx<UART> {
break Some(b)
},
_ => {
print!("got into retry loop in read iterator, ");
if now.elapsed() > timeout {
println!("exiting because timeout expired :(");
break None
}
println!("waiting 200ms ...");
thread::sleep(Duration::from_millis(200));
self.timeout = Some(timeout - now.elapsed());
}