example cleanup

This commit is contained in:
Jacob Rosenthal 2021-12-16 15:20:56 -07:00
parent 1d51f91368
commit e7d2c52680
2 changed files with 2 additions and 5 deletions

View File

@ -6,11 +6,9 @@
mod example_common; mod example_common;
use defmt::{info, unwrap}; use defmt::{info, unwrap};
use defmt_rtt as _; use defmt_rtt as _; // global logger
use embassy::interrupt::InterruptExt; use embassy::interrupt::InterruptExt;
use futures::future::{select, Either};
use futures::pin_mut; use futures::pin_mut;
// global logger
use panic_probe as _; // print out panic messages use panic_probe as _; // print out panic messages
use embassy::executor::Spawner; use embassy::executor::Spawner;

View File

@ -6,8 +6,7 @@
mod example_common; mod example_common;
use defmt::{info, unwrap}; use defmt::{info, unwrap};
use defmt_rtt as _; use defmt_rtt as _; // global logger
// global logger
use panic_probe as _; // print out panic messages use panic_probe as _; // print out panic messages
use embassy::executor::Spawner; use embassy::executor::Spawner;