Add missing word "pin" in rp pwm documentation

It is confusing to read without. The corrected line reads like its 'b' pin counterpart (few lines below).
This commit is contained in:
Mikkel 2024-06-12 14:56:21 +02:00 committed by GitHub
parent 5154de3b7e
commit d08639f643
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -129,7 +129,7 @@ impl<'d> Pwm<'d> {
Self::new_inner(slice.number(), None, None, Pull::None, config, Divmode::DIV) Self::new_inner(slice.number(), None, None, Pull::None, config, Divmode::DIV)
} }
/// Create PWM driver with a single 'a' as output. /// Create PWM driver with a single 'a' pin as output.
#[inline] #[inline]
pub fn new_output_a<T: Slice>( pub fn new_output_a<T: Slice>(
slice: impl Peripheral<P = T> + 'd, slice: impl Peripheral<P = T> + 'd,