Pool example need to import things into the mod

This commit is contained in:
Henrik Tjäder 2020-06-08 07:42:19 +00:00
parent 3ab2c049c5
commit 19b35d7aad

View file

@ -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) {