From 19b35d7aad36fe329976274b8c6ffd5591826ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Mon, 8 Jun 2020 07:42:19 +0000 Subject: [PATCH] Pool example need to import things into the mod --- examples/pool.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/pool.rs b/examples/pool.rs index c87be77848..27408d5596 100644 --- a/examples/pool.rs +++ b/examples/pool.rs @@ -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) {