From 30d6327001e35476f306b6cd8185396293b41f1d Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 21 May 2019 15:22:25 +0200 Subject: bump heapless dependency to v0.5.0; remove "nightly" feature with the upcoming version of heapless we are able to initialize all internal queues in const context removing the need for late initialization this commit also removes the "nightly" feature because all the optimization provided by it are now enabled by default --- src/export.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/export.rs') diff --git a/src/export.rs b/src/export.rs index ee4df52..afed909 100644 --- a/src/export.rs +++ b/src/export.rs @@ -8,8 +8,8 @@ pub use cortex_m::{ asm::wfi, interrupt, peripheral::scb::SystemHandler, peripheral::syst::SystClkSource, peripheral::Peripherals, }; -pub use heapless::consts; -use heapless::spsc::{Queue, SingleCore}; +use heapless::spsc::SingleCore; +pub use heapless::{consts, i, spsc::Queue}; #[cfg(feature = "timer-queue")] pub use crate::tq::{NotReady, TimerQueue}; -- cgit v1.2.3