mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
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:
parent
5154de3b7e
commit
d08639f643
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user