tasks! macro: update the signature of idle

This commit is contained in:
Jorge Aparicio 2017-04-19 15:26:50 -05:00
parent aee3c2b29b
commit 914e19d6a5

View file

@ -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 _) };