From 90a2b823a4da6ff71b835e97eee8b4f7a91d3758 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 21 Mar 2021 21:03:02 +0100 Subject: [PATCH] nrf/gpiote: cleanup imports --- embassy-nrf-examples/src/bin/gpiote_port.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/embassy-nrf-examples/src/bin/gpiote_port.rs b/embassy-nrf-examples/src/bin/gpiote_port.rs index b0e59ccce..0ec9e5d38 100644 --- a/embassy-nrf-examples/src/bin/gpiote_port.rs +++ b/embassy-nrf-examples/src/bin/gpiote_port.rs @@ -6,19 +6,17 @@ #[path = "../example_common.rs"] mod example_common; -use embassy_nrf::gpio::{AnyPin, Input, Pin as _, Pull}; use example_common::*; -use gpiote::PortInput; use core::pin::Pin; use cortex_m_rt::entry; use defmt::panic; -use nrf52840_hal::gpio; use embassy::executor::{task, Executor}; use embassy::traits::gpio::{WaitForHigh, WaitForLow}; use embassy::util::Forever; -use embassy_nrf::gpiote; +use embassy_nrf::gpio::{AnyPin, Input, Pin as _, Pull}; +use embassy_nrf::gpiote::{self, PortInput}; use embassy_nrf::interrupt; async fn button(n: usize, mut pin: PortInput) {