File tree Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Expand file tree Collapse file tree 2 files changed +1
-21
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ features = ["unproven"]
41
41
version = " 0.2.4"
42
42
43
43
[dependencies .embedded-hal-one ]
44
- version = " 1.0.0-rc.3 "
44
+ version = " 1.0.0"
45
45
package = " embedded-hal"
46
46
47
47
[dependencies .embedded-dma ]
Original file line number Diff line number Diff line change @@ -333,16 +333,6 @@ macro_rules! gpio {
333
333
}
334
334
}
335
335
336
- impl <MODE > hal1:: digital:: ToggleableOutputPin for $PXx<Output <MODE >> {
337
- fn toggle( & mut self ) -> Result <( ) , Self :: Error > {
338
- if <Self as hal1:: digital:: StatefulOutputPin >:: is_set_high( self ) ? {
339
- <Self as hal1:: digital:: OutputPin >:: set_low( self )
340
- } else {
341
- <Self as hal1:: digital:: OutputPin >:: set_high( self )
342
- }
343
- }
344
- }
345
-
346
336
impl <MODE > toggleable:: Default for $PXx<Output <MODE >> { }
347
337
348
338
impl <MODE > InputPin for $PXx<Output <MODE >> {
@@ -698,16 +688,6 @@ macro_rules! gpio {
698
688
699
689
impl <MODE > toggleable:: Default for $PXi<Output <MODE >> { }
700
690
701
- impl <MODE > hal1:: digital:: ToggleableOutputPin for $PXi<Output <MODE >> {
702
- fn toggle( & mut self ) -> Result <( ) , Self :: Error > {
703
- if <Self as hal1:: digital:: StatefulOutputPin >:: is_set_high( self ) ? {
704
- <Self as hal1:: digital:: OutputPin >:: set_low( self )
705
- } else {
706
- <Self as hal1:: digital:: OutputPin >:: set_high( self )
707
- }
708
- }
709
- }
710
-
711
691
impl <MODE > InputPin for $PXi<Output <MODE >> {
712
692
type Error = ( ) ;
713
693
You can’t perform that action at this time.
0 commit comments