From b4fbc0557407d75b059ce4879708a5e70dc04244 Mon Sep 17 00:00:00 2001 From: Shantanu Date: Thu, 25 Aug 2022 01:25:25 +0530 Subject: [PATCH] add rtt_target --- src/lib.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f9d6a66..f5ece48 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,18 +20,13 @@ #![no_main] pub mod constant; -#[cfg(feature = "gesture")] -pub mod gesture; #[cfg(feature = "gesture")] use heapless::Vec; -#[allow(unused_imports)] -use panic_semihosting as _; - use embedded_hal as hal; use hal::blocking::{delay::DelayMs, i2c}; - +use rtt_target::{rprintln, rtt_init_print}; use core::marker::PhantomData; use crate::constant::*;