File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ status = [
6
6
" ci-linux (stable, thumbv6m-none-eabi)" ,
7
7
" ci-linux (stable, thumbv7m-none-eabi)" ,
8
8
" ci-linux (1.35.0, x86_64-unknown-linux-gnu)" ,
9
+ " fmt" ,
9
10
]
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ name: Code formatting check
7
7
8
8
jobs :
9
9
fmt :
10
- name : Rustfmt
11
10
runs-on : ubuntu-latest
12
11
steps :
13
12
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -88,8 +88,11 @@ pub trait Pwm {
88
88
fn try_get_max_duty ( & self ) -> Result < Self :: Duty , Self :: Error > ;
89
89
90
90
/// Sets a new duty cycle
91
- fn try_set_duty ( & mut self , channel : & Self :: Channel , duty : Self :: Duty )
92
- -> Result < ( ) , Self :: Error > ;
91
+ fn try_set_duty (
92
+ & mut self ,
93
+ channel : & Self :: Channel ,
94
+ duty : Self :: Duty ,
95
+ ) -> Result < ( ) , Self :: Error > ;
93
96
94
97
/// Sets a new PWM period
95
98
fn try_set_period < P > ( & mut self , period : P ) -> Result < ( ) , Self :: Error >
You can’t perform that action at this time.
0 commit comments