Removed the NotConnected as it isn't used.
This commit is contained in:
parent
25d6a2cd13
commit
b043778f75
1 changed files with 0 additions and 14 deletions
|
@ -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
|
// TODO the variant names are unchecked
|
||||||
// the pins are copied from nrf hal
|
// the pins are copied from nrf hal
|
||||||
#[cfg(feature = "9160")]
|
#[cfg(feature = "9160")]
|
||||||
|
|
Loading…
Reference in a new issue