diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-02-26 01:08:04 +0100 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-02-26 01:10:17 +0100 |
commit | a1a0d87a14c047c8b2838ec2f8c62a5ca8875406 (patch) | |
tree | bba95bfbd3ba8e5c8651d0df0d238eb2d1dc88f2 /examples/src/bin/flash.rs | |
parent | 6cf4ada4e51f37b774f3b9000f2c75fd08cf46c3 (diff) | |
download | nrf-softdevice-a1a0d87a14c047c8b2838ec2f8c62a5ca8875406.zip |
Fix warnings. Closes #39
Diffstat (limited to 'examples/src/bin/flash.rs')
-rw-r--r-- | examples/src/bin/flash.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/bin/flash.rs b/examples/src/bin/flash.rs index 1d765c7..84a71ab 100644 --- a/examples/src/bin/flash.rs +++ b/examples/src/bin/flash.rs @@ -8,7 +8,7 @@ mod example_common; use example_common::*; use cortex_m_rt::entry; -use defmt::{panic, *}; +use defmt::*; use embassy::executor::{task, Executor}; use embassy::flash::Flash as _; use embassy::util::Forever; @@ -39,7 +39,7 @@ async fn flash_task(sd: &'static Softdevice) { fn main() -> ! { info!("Hello World!"); - let (sdp, p) = take_peripherals(); + let (sdp, _p) = take_peripherals(); let sd = Softdevice::enable(sdp, &Default::default()); let executor = EXECUTOR.put(Executor::new()); |