Make the docs be docs

This commit is contained in:
Caleb Jamison 2024-10-09 16:57:02 -04:00
parent 1b32b7bcb4
commit 70bd158d03

View File

@ -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)
} }