Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nrf-hal-common/src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ impl<MODE> Pin<MODE> {
}
}

impl<MODE> InputPin for Pin<Input<MODE>> {
impl<MODE> InputPin for Pin<MODE> {
type Error = Void;

fn is_high(&self) -> Result<bool, Self::Error> {
Expand Down Expand Up @@ -529,7 +529,7 @@ macro_rules! gpio {
}
}

impl<MODE> InputPin for $PXi<Input<MODE>> {
impl<MODE> InputPin for $PXi<MODE> {
type Error = Void;

fn is_high(&self) -> Result<bool, Self::Error> {
Expand Down