From f96b25fdf2d7421cc16830a4ccac4ebb3e69cc5d Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Thu, 15 Oct 2020 18:50:17 +0200 Subject: Updated examples More work --- examples/shared-with-init.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/shared-with-init.rs') diff --git a/examples/shared-with-init.rs b/examples/shared-with-init.rs index 85c7276..049a38b 100644 --- a/examples/shared-with-init.rs +++ b/examples/shared-with-init.rs @@ -5,8 +5,6 @@ #![no_main] #![no_std] -use cortex_m_semihosting::debug; -use lm3s6965::Interrupt; use panic_halt as _; use rtic::app; @@ -14,6 +12,8 @@ pub struct MustBeSend; #[app(device = lm3s6965)] mod app { + use cortex_m_semihosting::debug; + use lm3s6965::Interrupt; use super::MustBeSend; #[resources] -- cgit v1.2.3 From f076b33bb91e9cd2cb1f71ba22ebfebab085d3a8 Mon Sep 17 00:00:00 2001 From: Emil Fresk Date: Wed, 21 Oct 2020 20:20:26 +0200 Subject: Namespace cleanup --- examples/shared-with-init.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/shared-with-init.rs') diff --git a/examples/shared-with-init.rs b/examples/shared-with-init.rs index 049a38b..ec05588 100644 --- a/examples/shared-with-init.rs +++ b/examples/shared-with-init.rs @@ -12,9 +12,9 @@ pub struct MustBeSend; #[app(device = lm3s6965)] mod app { + use super::MustBeSend; use cortex_m_semihosting::debug; use lm3s6965::Interrupt; - use super::MustBeSend; #[resources] struct Resources { -- cgit v1.2.3