mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
Make the docs be docs
This commit is contained in:
parent
1b32b7bcb4
commit
70bd158d03
@ -114,7 +114,7 @@ impl<'d, T: Instance, const SM: usize> PioPwm<'d, T, SM> {
|
|||||||
self.set_level(to_pio_cycles(duration));
|
self.set_level(to_pio_cycles(duration));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return the state machine and pin.
|
/// Return the state machine and pin.
|
||||||
pub fn release(self) -> (StateMachine<'d, T, SM>, Pin<'d, T>) {
|
pub fn release(self) -> (StateMachine<'d, T, SM>, Pin<'d, T>) {
|
||||||
(self.sm, self.pin)
|
(self.sm, self.pin)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user