mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
Pool example need to import things into the mod
This commit is contained in:
parent
3ab2c049c5
commit
19b35d7aad
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ pool!(P: [u8; 128]);
|
|||
#[app(device = lm3s6965)]
|
||||
mod app {
|
||||
use crate::Box;
|
||||
use crate::P;
|
||||
|
||||
// Import the memory pool into scope
|
||||
use super::P;
|
||||
|
||||
#[init]
|
||||
fn init(_: init::Context) {
|
||||
|
|
Loading…
Reference in a new issue