@@ -28,12 +28,12 @@ impl<const P: char, const N: u8, MODE> OutputPin for Pin<P, N, Output<MODE>> {
2828impl < const P : char , const N : u8 , MODE > StatefulOutputPin for Pin < P , N , Output < MODE > > {
2929 #[ inline( always) ]
3030 fn is_set_high ( & mut self ) -> Result < bool , Self :: Error > {
31- Ok ( Pin :: is_set_high ( self ) )
31+ Ok ( Self :: is_set_high ( self ) )
3232 }
3333
3434 #[ inline( always) ]
3535 fn is_set_low ( & mut self ) -> Result < bool , Self :: Error > {
36- Ok ( Pin :: is_set_low ( self ) )
36+ Ok ( Self :: is_set_low ( self ) )
3737 }
3838}
3939
@@ -43,12 +43,12 @@ where
4343{
4444 #[ inline( always) ]
4545 fn is_high ( & mut self ) -> Result < bool , Self :: Error > {
46- Ok ( Pin :: is_high ( self ) )
46+ Ok ( Self :: is_high ( self ) )
4747 }
4848
4949 #[ inline( always) ]
5050 fn is_low ( & mut self ) -> Result < bool , Self :: Error > {
51- Ok ( Pin :: is_low ( self ) )
51+ Ok ( Self :: is_low ( self ) )
5252 }
5353}
5454
@@ -74,12 +74,12 @@ impl<MODE> OutputPin for ErasedPin<Output<MODE>> {
7474impl < MODE > StatefulOutputPin for ErasedPin < Output < MODE > > {
7575 #[ inline( always) ]
7676 fn is_set_high ( & mut self ) -> Result < bool , Self :: Error > {
77- Ok ( ErasedPin :: is_set_high ( self ) )
77+ Ok ( Self :: is_set_high ( self ) )
7878 }
7979
8080 #[ inline( always) ]
8181 fn is_set_low ( & mut self ) -> Result < bool , Self :: Error > {
82- Ok ( ErasedPin :: is_set_low ( self ) )
82+ Ok ( Self :: is_set_low ( self ) )
8383 }
8484}
8585
@@ -89,12 +89,12 @@ where
8989{
9090 #[ inline( always) ]
9191 fn is_high ( & mut self ) -> Result < bool , Self :: Error > {
92- Ok ( ErasedPin :: is_high ( self ) )
92+ Ok ( Self :: is_high ( self ) )
9393 }
9494
9595 #[ inline( always) ]
9696 fn is_low ( & mut self ) -> Result < bool , Self :: Error > {
97- Ok ( ErasedPin :: is_low ( self ) )
97+ Ok ( Self :: is_low ( self ) )
9898 }
9999}
100100
@@ -120,12 +120,12 @@ impl<const P: char, MODE> OutputPin for PartiallyErasedPin<P, Output<MODE>> {
120120impl < const P : char , MODE > StatefulOutputPin for PartiallyErasedPin < P , Output < MODE > > {
121121 #[ inline( always) ]
122122 fn is_set_high ( & mut self ) -> Result < bool , Self :: Error > {
123- Ok ( PartiallyErasedPin :: is_set_high ( self ) )
123+ Ok ( Self :: is_set_high ( self ) )
124124 }
125125
126126 #[ inline( always) ]
127127 fn is_set_low ( & mut self ) -> Result < bool , Self :: Error > {
128- Ok ( PartiallyErasedPin :: is_set_low ( self ) )
128+ Ok ( Self :: is_set_low ( self ) )
129129 }
130130}
131131
@@ -135,12 +135,12 @@ where
135135{
136136 #[ inline( always) ]
137137 fn is_high ( & mut self ) -> Result < bool , Self :: Error > {
138- Ok ( PartiallyErasedPin :: is_high ( self ) )
138+ Ok ( Self :: is_high ( self ) )
139139 }
140140
141141 #[ inline( always) ]
142142 fn is_low ( & mut self ) -> Result < bool , Self :: Error > {
143- Ok ( PartiallyErasedPin :: is_low ( self ) )
143+ Ok ( Self :: is_low ( self ) )
144144 }
145145}
146146
@@ -160,9 +160,9 @@ impl<const P: char, const N: u8> OutputPin for DynamicPin<P, N> {
160160
161161impl < const P : char , const N : u8 > InputPin for DynamicPin < P , N > {
162162 fn is_high ( & mut self ) -> Result < bool , Self :: Error > {
163- DynamicPin :: is_high ( self )
163+ Self :: is_high ( self )
164164 }
165165 fn is_low ( & mut self ) -> Result < bool , Self :: Error > {
166- DynamicPin :: is_low ( self )
166+ Self :: is_low ( self )
167167 }
168168}
0 commit comments