example cleanup
This commit is contained in:
parent
1d51f91368
commit
e7d2c52680
@ -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;
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user