From b1880e13846083f95a134faa20d3c8248be6b71d Mon Sep 17 00:00:00 2001
From: sheepwall <a.sve@live.se>
Date: Fri, 15 Mar 2019 15:21:33 +0100
Subject: [PATCH] bare10_2

---
 examples/bare10.rs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/bare10.rs b/examples/bare10.rs
index dc09fde..3d90134 100644
--- a/examples/bare10.rs
+++ b/examples/bare10.rs
@@ -79,7 +79,7 @@ const APP: () = {
         }
     }
 
-    #[task(priority = 1, resources = [ITM])]
+    #[task(priority = 1, capacity = 4, resources = [ITM])]
     fn trace_data(byte: u8) {
         let stim = &mut resources.ITM.stim[0];
         iprintln!(stim, "data {}", byte);
@@ -169,7 +169,9 @@ const APP: () = {
 //
 //    What information would you need?
 //
-//    ** your answer here **
+//    ** The time each byte needs to be processed (call it A) and the time it takes for
+//    a byte to arrive after the previous arrived (call it B). We need space for approximately
+//    A/B tasks to run simultaneously. **
 //    
 //    Commit your answers (bare10_2)
 //
-- 
GitLab