remove prints in uart Iterator impl
This commit is contained in:
parent
fac3115a93
commit
f7070e02e7
1 changed files with 0 additions and 3 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue