diff --git a/examples/rtic_bare7.rs b/examples/rtic_bare7.rs
index 300356c67cf7ced31109aefcef5edf1494c19bd0..0838b903128af854b4248738d58018501a40d263 100644
--- a/examples/rtic_bare7.rs
+++ b/examples/rtic_bare7.rs
@@ -77,16 +77,16 @@ const APP: () = {
         static mut TOGGLE: bool = false;
         rprintln!("toggle  @ {:?}", Instant::now());
 
-
-        if *TOGGLE {
-            //cx.resources.GPIOA.bsrr.write(|w| w.bs5().set_bit());
-            cx.resources.led.set_high().unwrap();
-        } else {
-            cx.resources.led.set_low().unwrap();
-            //cx.resources.GPIOA.bsrr.write(|w| w.br5().set_bit());
-        }
-
-        *TOGGLE = !*TOGGLE;
+        _toggle_generic(cx.resources.led, TOGGLE);
+        // if *TOGGLE {
+        //     //cx.resources.GPIOA.bsrr.write(|w| w.bs5().set_bit());
+        //     cx.resources.led.set_high().unwrap();
+        // } else {
+        //     cx.resources.led.set_low().unwrap();
+        //     //cx.resources.GPIOA.bsrr.write(|w| w.br5().set_bit());
+        // }
+
+        //*TOGGLE = !*TOGGLE;
         cx.schedule.toggle(cx.scheduled + OFFSET.cycles()).unwrap();
     }