diff options
| author | huntc <[email protected]> | 2021-10-11 08:56:53 +1100 |
|---|---|---|
| committer | huntc <[email protected]> | 2021-10-11 08:56:53 +1100 |
| commit | 25d6a2cd131257d83949424f7eebf47c88d95e0b (patch) | |
| tree | ead644e31d1e9eec4d63bdbdd7a997906319afc6 | |
| parent | 617a976e96282a103a30667be402da27dc4bbbb3 (diff) | |
No use case understood for NotConnected, so hiding it for now
| -rw-r--r-- | embassy-nrf/src/saadc.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/embassy-nrf/src/saadc.rs b/embassy-nrf/src/saadc.rs index d8ed5765b..481f886e5 100644 --- a/embassy-nrf/src/saadc.rs +++ b/embassy-nrf/src/saadc.rs | |||
| @@ -259,8 +259,7 @@ macro_rules! negative_pin_mappings { | |||
| 259 | }; | 259 | }; |
| 260 | } | 260 | } |
| 261 | 261 | ||
| 262 | /// Represents an unconnected pin | 262 | struct NotConnected {} |
| 263 | pub struct NotConnected {} | ||
| 264 | 263 | ||
| 265 | impl PositivePin for NotConnected { | 264 | impl PositivePin for NotConnected { |
| 266 | fn channel(&self) -> PositiveChannel { | 265 | fn channel(&self) -> PositiveChannel { |
