diff options
| author | dimi <[email protected]> | 2025-07-09 20:00:49 +0200 |
|---|---|---|
| committer | dimi <[email protected]> | 2025-07-09 20:00:49 +0200 |
| commit | 9589c056d1963a2a342a4486181f3ce139ddeea5 (patch) | |
| tree | c4d71b782b592388db5a3e5cd38337d9e15a91c5 /embassy-stm32 | |
| parent | ba5aea8e6041675a0854b82fba79332608aa10c1 (diff) | |
fix typo
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/src/timer/one_pulse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/timer/one_pulse.rs b/embassy-stm32/src/timer/one_pulse.rs index c8f0cafe7..498d9c082 100644 --- a/embassy-stm32/src/timer/one_pulse.rs +++ b/embassy-stm32/src/timer/one_pulse.rs | |||
| @@ -183,7 +183,7 @@ impl<'d, T: GeneralInstance4Channel> OnePulse<'d, T> { | |||
| 183 | /// as an output. | 183 | /// as an output. |
| 184 | pub fn new_ch2( | 184 | pub fn new_ch2( |
| 185 | tim: Peri<'d, T>, | 185 | tim: Peri<'d, T>, |
| 186 | _pin: TriggerPin<'d, T, Ch1>, | 186 | _pin: TriggerPin<'d, T, Ch2>, |
| 187 | _irq: impl Binding<T::CaptureCompareInterrupt, CaptureCompareInterruptHandler<T>> + 'd, | 187 | _irq: impl Binding<T::CaptureCompareInterrupt, CaptureCompareInterruptHandler<T>> + 'd, |
| 188 | freq: Hertz, | 188 | freq: Hertz, |
| 189 | pulse_end: u32, | 189 | pulse_end: u32, |
