@@ -256,7 +256,7 @@ impl<MODE, const P: u8> StatefulOutputPin for PXx<Output<MODE>, P> {
256
256
257
257
impl < MODE , const P : u8 > toggleable:: Default for PXx < Output < MODE > , P > { }
258
258
259
- impl < MODE , const P : u8 > InputPin for PXx < Output < MODE > , P > {
259
+ impl < const P : u8 > InputPin for PXx < Output < OpenDrain > , P > {
260
260
type Error = Infallible ;
261
261
262
262
fn is_high ( & self ) -> Result < bool , Self :: Error > {
@@ -787,7 +787,7 @@ impl<MODE, const P: u8, const N: u8> StatefulOutputPin for PX<Output<MODE>, P, N
787
787
788
788
impl < MODE , const P : u8 , const N : u8 > toggleable:: Default for PX < Output < MODE > , P , N > { }
789
789
790
- impl < MODE , const P : u8 , const N : u8 > InputPin for PX < Output < MODE > , P , N > {
790
+ impl < const P : u8 , const N : u8 > InputPin for PX < Output < OpenDrain > , P , N > {
791
791
type Error = Infallible ;
792
792
793
793
fn is_high ( & self ) -> Result < bool , Self :: Error > {
@@ -1159,7 +1159,7 @@ impl<MODE> StatefulOutputPin for Pin<Output<MODE>> {
1159
1159
1160
1160
impl < MODE > toggleable:: Default for Pin < Output < MODE > > { }
1161
1161
1162
- impl < MODE > InputPin for Pin < Output < MODE > > {
1162
+ impl InputPin for Pin < Output < OpenDrain > > {
1163
1163
type Error = core:: convert:: Infallible ;
1164
1164
1165
1165
fn is_high ( & self ) -> Result < bool , Self :: Error > {
0 commit comments