Update embedded-hal versions and explicitly pin

This commit is contained in:
Ulf Lilleengen
2022-09-29 11:02:43 +02:00
parent 77ece3f903
commit 72c2e985bb
29 changed files with 94 additions and 99 deletions

View File

@ -457,7 +457,7 @@ mod eh1 {
type Error = Infallible;
}
impl<'d, C: Channel, T: GpioPin> embedded_hal_1::digital::blocking::InputPin for InputChannel<'d, C, T> {
impl<'d, C: Channel, T: GpioPin> embedded_hal_1::digital::InputPin for InputChannel<'d, C, T> {
fn is_high(&self) -> Result<bool, Self::Error> {
Ok(self.pin.is_high())
}