From 1be43fc489993e63577515063ceb8a83b14423b8 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 11 Jan 2018 20:56:45 +0100 Subject: adapt to changes in the cortex-m crate --- examples/one-task.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/one-task.rs') diff --git a/examples/one-task.rs b/examples/one-task.rs index 07def59b..c62fbbfe 100644 --- a/examples/one-task.rs +++ b/examples/one-task.rs @@ -43,7 +43,7 @@ app! { } } -fn init(p: init::Peripherals, r: init::Resources) { +fn init(mut p: init::Peripherals, r: init::Resources) { // `init` can modify all the `resources` declared in `app!` r.ON; -- cgit v1.2.3