We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d3ca28e + e21b301 commit 6f47ac3Copy full SHA for 6f47ac3
.github/bors.toml
@@ -6,4 +6,5 @@ status = [
6
"ci-linux (stable, thumbv6m-none-eabi)",
7
"ci-linux (stable, thumbv7m-none-eabi)",
8
"ci-linux (1.35.0, x86_64-unknown-linux-gnu)",
9
+ "fmt (stable)",
10
]
src/pwm.rs
@@ -88,8 +88,11 @@ pub trait Pwm {
88
fn try_get_max_duty(&self) -> Result<Self::Duty, Self::Error>;
89
90
/// Sets a new duty cycle
91
- fn try_set_duty(&mut self, channel: &Self::Channel, duty: Self::Duty)
92
- -> Result<(), Self::Error>;
+ fn try_set_duty(
+ &mut self,
93
+ channel: &Self::Channel,
94
+ duty: Self::Duty,
95
+ ) -> Result<(), Self::Error>;
96
97
/// Sets a new PWM period
98
fn try_set_period<P>(&mut self, period: P) -> Result<(), Self::Error>
0 commit comments