diff --git a/examples/stm32g0/src/bin/input_capture.rs b/examples/stm32g0/src/bin/input_capture.rs index 69fdae96d..9b940d618 100644 --- a/examples/stm32g0/src/bin/input_capture.rs +++ b/examples/stm32g0/src/bin/input_capture.rs @@ -36,7 +36,7 @@ async fn blinky(led: peripherals::PB1) { } bind_interrupts!(struct Irqs { - TIM2 => timer::CaptureCompareInterruptHandler; + TIM2 => timer::InterruptHandler; }); #[embassy_executor::main] diff --git a/examples/stm32g0/src/bin/pwm_input.rs b/examples/stm32g0/src/bin/pwm_input.rs index 152ecda86..e9983063d 100644 --- a/examples/stm32g0/src/bin/pwm_input.rs +++ b/examples/stm32g0/src/bin/pwm_input.rs @@ -34,7 +34,7 @@ async fn blinky(led: peripherals::PB1) { } bind_interrupts!(struct Irqs { - TIM2 => timer::CaptureCompareInterruptHandler; + TIM2 => timer::InterruptHandler; }); #[embassy_executor::main]