From 914e19d6a5c4d7fd70dbee6a9b65c7ac2f6c7794 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 19 Apr 2017 15:26:50 -0500 Subject: [PATCH] tasks! macro: update the signature of `idle` --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f84d1d1571..eef735a965 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -351,7 +351,7 @@ macro_rules! tasks { }) => { fn main() { $crate::critical(|cmax| { - fn signature(_: fn($crate::P0, $crate::CMAX)) {} + fn signature(_: fn($crate::P0, &$crate::CMAX)) {} signature(init); let p0 = unsafe { ::core::ptr::read(0x0 as *const _) };