mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-27 14:04:56 +01:00
6 lines
257 B
Text
6 lines
257 B
Text
|
error: the `#[init]` function must have signature `fn(init::Context) -> (Shared resources struct, Local resources struct, init::Monotonics)`
|
||
|
--> $DIR/init-no-context.rs:12:8
|
||
|
|
|
||
|
12 | fn init() -> (Shared, Local, init::Monotonics) {}
|
||
|
| ^^^^
|