From fc80d1c2e1a7dc1e710017547603ac580ac39645 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Carl=20=C3=96sterberg?= <carl.vilhelms.osterberg@gmail.com>
Date: Fri, 5 Mar 2021 16:40:49 +0100
Subject: [PATCH] deadline friday tasks

---
 examples/rtic_bare4.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/rtic_bare4.rs b/examples/rtic_bare4.rs
index e3d55a7..ed77a98 100644
--- a/examples/rtic_bare4.rs
+++ b/examples/rtic_bare4.rs
@@ -71,10 +71,12 @@ const APP: () = {
 
         loop {
             // set PA5 high
+            //8.4.7
             write_u32(GPIOA_BSRR, 1 << 5); // set bit, output hight (turn on led)
             wait(10_000);
 
             // set PA5 low
+            //8.4.7
             write_u32(GPIOA_BSRR, 1 << (5 + 16)); // clear bit, output low (turn off led)
             wait(10_000);
         }
@@ -97,7 +99,6 @@ const APP: () = {
 //
 // 2. Comment out line 38 and uncomment line 39 (essentially omitting the `unsafe`)
 //
-
 //    //unsafe { core::ptr::read_volatile(addr as *const _) }
 //    core::ptr::read_volatile(addr as *const _)
 //
-- 
GitLab