diff options
| author | Emil Fresk <emil.fresk@gmail.com> | 2021-02-20 19:22:45 +0100 |
|---|---|---|
| committer | Emil Fresk <emil.fresk@gmail.com> | 2021-02-20 19:22:45 +0100 |
| commit | 555f36857ec93bed26ff4249593992f500b7c4ab (patch) | |
| tree | 97db7bea39684b64f33d208bc4c413f469ae53e5 /examples/t-cfg.rs | |
| parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
Test fixes
Diffstat (limited to 'examples/t-cfg.rs')
| -rw-r--r-- | examples/t-cfg.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs index 5bcef0a..ff06ee8 100644 --- a/examples/t-cfg.rs +++ b/examples/t-cfg.rs @@ -5,7 +5,7 @@ use panic_halt as _; -#[rtic::app(device = lm3s6965, monotonic = rtic::cyccnt::CYCCNT, dispatchers = [SSI0, QEI0])] +#[rtic::app(device = lm3s6965, dispatchers = [SSI0, QEI0])] mod app { #[resources] struct Resources { @@ -15,11 +15,11 @@ mod app { } #[init] - fn init(_: init::Context) -> init::LateResources { + fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { #[cfg(never)] static mut BAR: u32 = 0; - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } #[idle] |
