File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ impl<'d> AnyPin<'d> {
2727 #[ inline]
2828 pub fn new < P > ( pin : impl crate :: peripheral:: Peripheral < P = P > + ' d ) -> Self
2929 where
30- P : OutputPin + InputPin ,
30+ P : Pin ,
3131 {
3232 crate :: into_ref!( pin) ;
3333 let pin = pin. degrade_internal ( private:: Internal ) ;
@@ -44,7 +44,7 @@ impl<'d> AnyPin<'d> {
4444 #[ inline]
4545 pub fn new_inverted < P > ( pin : impl crate :: peripheral:: Peripheral < P = P > + ' d ) -> Self
4646 where
47- P : OutputPin + InputPin ,
47+ P : Pin ,
4848 {
4949 crate :: into_ref!( pin) ;
5050 let pin = pin. degrade_internal ( private:: Internal ) ;
@@ -214,7 +214,7 @@ impl<'d> AnyInputOnlyPin<'d> {
214214 #[ inline]
215215 pub fn new < P > ( pin : impl crate :: peripheral:: Peripheral < P = P > + ' d ) -> Self
216216 where
217- P : InputPin + GpioProperties ,
217+ P : InputPin ,
218218 {
219219 crate :: into_ref!( pin) ;
220220 let pin = pin. degrade_pin ( private:: Internal ) ;
You can’t perform that action at this time.
0 commit comments