aboutsummaryrefslogtreecommitdiff
path: root/examples/pool.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pool.rs')
-rw-r--r--examples/pool.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/pool.rs b/examples/pool.rs
index 2ad99841..fc740fea 100644
--- a/examples/pool.rs
+++ b/examples/pool.rs
@@ -5,12 +5,10 @@
#![no_main]
#![no_std]
-use cortex_m_semihosting::{debug, hprintln};
use heapless::{
pool,
pool::singleton::{Box, Pool},
};
-use lm3s6965::Interrupt;
use panic_semihosting as _;
use rtic::app;
@@ -19,7 +17,9 @@ pool!(P: [u8; 128]);
#[app(device = lm3s6965)]
mod app {
- use crate::Box;
+ use crate::{Box, Pool};
+ use cortex_m_semihosting::{debug, hprintln};
+ use lm3s6965::Interrupt;
// Import the memory pool into scope
use super::P;