Skip to content

Commit

Permalink
fix embedded-hal is_low impl
Browse files Browse the repository at this point in the history
  • Loading branch information
TeyKey1 committed Jan 20, 2024
1 parent cc9dc58 commit 46796b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpio/hal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl embedded_hal::digital::InputPin for InputPin {
}

fn is_low(&mut self) -> Result<bool, Self::Error> {
Ok((*self).is_high())
Ok((*self).is_low())
}
}

Expand Down

0 comments on commit 46796b4

Please sign in to comment.