aboutsummaryrefslogtreecommitdiff
path: root/examples/one-task.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/one-task.rs2
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;