diff options
author | 2018-01-11 20:56:45 +0100 | |
---|---|---|
committer | 2018-01-11 20:56:45 +0100 | |
commit | 1be43fc489993e63577515063ceb8a83b14423b8 (patch) | |
tree | 128911a00f60bb7c0dc9c6ceb8c87e80e3935a99 /examples/one-task.rs | |
parent | dd12a6a14d2bb028c8da96cb510b67de31d28be4 (diff) | |
download | rtic-1be43fc489993e63577515063ceb8a83b14423b8.tar.gz rtic-1be43fc489993e63577515063ceb8a83b14423b8.tar.zst rtic-1be43fc489993e63577515063ceb8a83b14423b8.zip |
adapt to changes in the cortex-m crate
Diffstat (limited to '')
-rw-r--r-- | examples/one-task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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; |