diff options
| author | James Munns <[email protected]> | 2024-06-12 13:05:26 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-12 13:05:26 +0000 |
| commit | dbe21730cdc0a5ce694e7cc84927149452079867 (patch) | |
| tree | fa6f660062e091dd670d85bdc1d024e950234151 | |
| parent | 5154de3b7e5068b227e48480b8ac71c54447c264 (diff) | |
| parent | d08639f6434b47c2208301d733c554e567c45706 (diff) | |
Merge pull request #3066 from mikkelens/patch-1
Add missing word "pin" in rp pwm documentation
| -rw-r--r-- | embassy-rp/src/pwm.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/pwm.rs b/embassy-rp/src/pwm.rs index 20b5c4d58..c35e76587 100644 --- a/embassy-rp/src/pwm.rs +++ b/embassy-rp/src/pwm.rs | |||
| @@ -129,7 +129,7 @@ impl<'d> Pwm<'d> { | |||
| 129 | Self::new_inner(slice.number(), None, None, Pull::None, config, Divmode::DIV) | 129 | Self::new_inner(slice.number(), None, None, Pull::None, config, Divmode::DIV) |
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | /// Create PWM driver with a single 'a' as output. | 132 | /// Create PWM driver with a single 'a' pin as output. |
| 133 | #[inline] | 133 | #[inline] |
| 134 | pub fn new_output_a<T: Slice>( | 134 | pub fn new_output_a<T: Slice>( |
| 135 | slice: impl Peripheral<P = T> + 'd, | 135 | slice: impl Peripheral<P = T> + 'd, |
