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/pool.rs | |
| parent | d02f9a02411de1bc79490c86541e95879b7b19b8 (diff) | |
Test fixes
Diffstat (limited to 'examples/pool.rs')
| -rw-r--r-- | examples/pool.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pool.rs b/examples/pool.rs index eaad9c0..44405b4 100644 --- a/examples/pool.rs +++ b/examples/pool.rs @@ -25,7 +25,7 @@ mod app { use super::P; #[init] - fn init(_: init::Context) -> init::LateResources { + fn init(_: init::Context) -> (init::LateResources, init::Monotonics) { static mut MEMORY: [u8; 512] = [0; 512]; // Increase the capacity of the memory pool by ~4 @@ -33,7 +33,7 @@ mod app { rtic::pend(Interrupt::I2C0); - init::LateResources {} + (init::LateResources {}, init::Monotonics()) } #[task(binds = I2C0, priority = 2)] |
