From b0c9b6f1d0f5c83533c2b94c743b92174e17b43f Mon Sep 17 00:00:00 2001 From: Stephen D <webmaster@scd31.com> Date: Thu, 1 Jun 2023 22:34:33 -0300 Subject: [PATCH] remove print statement --- src/radio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radio.rs b/src/radio.rs index 1f33b48..20edb24 100644 --- a/src/radio.rs +++ b/src/radio.rs @@ -30,9 +30,9 @@ impl UartRadio { // wait until we have space for packets while buf != [0x02] { - println!("full buf! sleeping..."); sleep(Duration::from_millis(10)); + // poll to see if the buffer has emptied yet self.uart.write_all(&[0x00])?; self.uart.flush()?; -- GitLab