From f8f6df0825ba9993c02c85d21496e45ba0507ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik@tjaders.com> Date: Mon, 26 Feb 2018 00:49:20 +0100 Subject: [PATCH] Removed the unused loop in init --- examples/resource.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/resource.rs b/examples/resource.rs index 4ecb9e3..a23dafa 100644 --- a/examples/resource.rs +++ b/examples/resource.rs @@ -76,9 +76,7 @@ fn exti3(t: &mut Threshold, mut r: EXTI3::Resources) { #[inline(never)] #[allow(dead_code)] -fn init(_p: init::Peripherals, _r: init::Resources) { - loop {} -} +fn init(_p: init::Peripherals, _r: init::Resources) {} extern crate cortex_m; use cortex_m::register::basepri; -- GitLab