diff options
| -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, |
