diff options
| author | Caleb Jamison <[email protected]> | 2024-10-09 16:57:02 -0400 |
|---|---|---|
| committer | Caleb Jamison <[email protected]> | 2024-10-09 16:57:02 -0400 |
| commit | 70bd158d03afa92edb0ce23d05860bde1651cf61 (patch) | |
| tree | 5daaafd03f4b1bea76a3627077a5c76cc6812bcd | |
| parent | 1b32b7bcb44a9df149bb9194cb83e6c1f370db12 (diff) | |
Make the docs be docs
| -rw-r--r-- | embassy-rp/src/pio_programs/pwm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/pio_programs/pwm.rs b/embassy-rp/src/pio_programs/pwm.rs index dfc5feb19..c6502387a 100644 --- a/embassy-rp/src/pio_programs/pwm.rs +++ b/embassy-rp/src/pio_programs/pwm.rs | |||
| @@ -114,7 +114,7 @@ impl<'d, T: Instance, const SM: usize> PioPwm<'d, T, SM> { | |||
| 114 | self.set_level(to_pio_cycles(duration)); | 114 | self.set_level(to_pio_cycles(duration)); |
| 115 | } | 115 | } |
| 116 | 116 | ||
| 117 | // Return the state machine and pin. | 117 | /// Return the state machine and pin. |
| 118 | pub fn release(self) -> (StateMachine<'d, T, SM>, Pin<'d, T>) { | 118 | pub fn release(self) -> (StateMachine<'d, T, SM>, Pin<'d, T>) { |
| 119 | (self.sm, self.pin) | 119 | (self.sm, self.pin) |
| 120 | } | 120 | } |
