From b043778f750f60f1361bb56f4b57e8ad56a13dc3 Mon Sep 17 00:00:00 2001 From: huntc Date: Mon, 11 Oct 2021 09:08:58 +1100 Subject: [PATCH] Removed the NotConnected as it isn't used. --- embassy-nrf/src/saadc.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index 481f886e5..b09b909d1 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs @@ -259,20 +259,6 @@ macro_rules! negative_pin_mappings { }; } -struct NotConnected {} - -impl PositivePin for NotConnected { - fn channel(&self) -> PositiveChannel { - PositiveChannel::NC - } -} - -impl NegativePin for NotConnected { - fn channel(&self) -> NegativeChannel { - NegativeChannel::NC - } -} - // TODO the variant names are unchecked // the pins are copied from nrf hal #[cfg(feature = "9160")]