mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
tasks! macro: update the signature of idle
This commit is contained in:
parent
aee3c2b29b
commit
914e19d6a5
1 changed files with 1 additions and 1 deletions
|
@ -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 _) };
|
||||
|
|
Loading…
Reference in a new issue