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 @@ -44,7 +44,7 @@ features = ["unproven"]
44
44
version = " 0.2.4"
45
45
46
46
[dependencies .embedded-hal-one ]
47
- version = " 1.0.0-rc.3 "
47
+ version = " 1.0.0"
48
48
package = " embedded-hal"
49
49
50
50
[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 >> {
@@ -690,16 +680,6 @@ macro_rules! gpio {
690
680
691
681
impl <MODE > toggleable:: Default for $PXi<Output <MODE >> { }
692
682
693
- impl <MODE > hal1:: digital:: ToggleableOutputPin for $PXi<Output <MODE >> {
694
- fn toggle( & mut self ) -> Result <( ) , Self :: Error > {
695
- if <Self as hal1:: digital:: StatefulOutputPin >:: is_set_high( self ) ? {
696
- <Self as hal1:: digital:: OutputPin >:: set_low( self )
697
- } else {
698
- <Self as hal1:: digital:: OutputPin >:: set_high( self )
699
- }
700
- }
701
- }
702
-
703
683
impl <MODE > InputPin for $PXi<Output <MODE >> {
704
684
type Error = ( ) ;
705
685
You can’t perform that action at this time.
0 commit comments