From 25d6a2cd131257d83949424f7eebf47c88d95e0b Mon Sep 17 00:00:00 2001 From: huntc Date: Mon, 11 Oct 2021 08:56:53 +1100 Subject: [PATCH] No use case understood for NotConnected, so hiding it for now --- embassy-nrf/src/saadc.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index d8ed5765..481f886e 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs @@ -259,8 +259,7 @@ macro_rules! negative_pin_mappings { }; } -/// Represents an unconnected pin -pub struct NotConnected {} +struct NotConnected {} impl PositivePin for NotConnected { fn channel(&self) -> PositiveChannel {