summaryrefslogtreecommitdiff
path: root/examples/src/bin/ble_peripheral_onoff.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2021-02-26 01:08:04 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2021-02-26 01:10:17 +0100
commita1a0d87a14c047c8b2838ec2f8c62a5ca8875406 (patch)
treebba95bfbd3ba8e5c8651d0df0d238eb2d1dc88f2 /examples/src/bin/ble_peripheral_onoff.rs
parent6cf4ada4e51f37b774f3b9000f2c75fd08cf46c3 (diff)
downloadnrf-softdevice-a1a0d87a14c047c8b2838ec2f8c62a5ca8875406.zip
Fix warnings. Closes #39
Diffstat (limited to 'examples/src/bin/ble_peripheral_onoff.rs')
-rw-r--r--examples/src/bin/ble_peripheral_onoff.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/src/bin/ble_peripheral_onoff.rs b/examples/src/bin/ble_peripheral_onoff.rs
index 83686f4..d516991 100644
--- a/examples/src/bin/ble_peripheral_onoff.rs
+++ b/examples/src/bin/ble_peripheral_onoff.rs
@@ -18,8 +18,8 @@ use embassy_nrf::interrupt;
use futures::pin_mut;
use nrf52840_hal::gpio;
-use nrf_softdevice::ble::{gatt_server, peripheral, Connection};
-use nrf_softdevice::{pac, raw, RawError, Softdevice};
+use nrf_softdevice::ble::{gatt_server, peripheral};
+use nrf_softdevice::{pac, raw, Softdevice};
static EXECUTOR: Forever<Executor> = Forever::new();