From d3c039b19cfeb6d8cab063931ec578d65c8d816b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20=C3=96sterberg?= <carl.vilhelms.osterberg@gmail.com>
Date: Fri, 12 Mar 2021 12:08:38 +0100
Subject: [PATCH] bare8_4

---
 examples/rtic_bare8.rs | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/examples/rtic_bare8.rs b/examples/rtic_bare8.rs
index 299ca0a..5364384 100644
--- a/examples/rtic_bare8.rs
+++ b/examples/rtic_bare8.rs
@@ -76,14 +76,12 @@ const APP: () = {
             match block!(rx.read()) {
                 Ok(byte) => {
                     received += 1;
-                    rprintln!("Ok {:b}", byte);
-                    rprintln!("Nmbr bytes rec {:?}",received);
+                    rprintln!("Ok {:b} Nmbr {:?}", byte, received);
                     tx.write(byte).unwrap();
                 }
                 Err(err) => {
                     errors += 1;
-                    rprintln!("Error {:?}", err);
-                    rprintln!("Nmbr errors rec {:?}",errors);
+                    rprintln!("Error {:?} Nmbr {:?}", err, errors);
                 }
             }
         }
@@ -172,8 +170,8 @@ const APP: () = {
 // 3. Experiment a bit, what is the max length sequence you can receive without errors?
 //
 //    ** your answer here **
+//    4 but super inconsistently
 //    
-//
 //    How did the added tracing/instrumentation affect the behavior?
 //
 //    ** your answer here **
-- 
GitLab