fix stm32g0 example

This commit is contained in:
Bruno Bousquet 2024-06-29 10:28:02 -04:00
parent 5c0cbacdd1
commit 0c37d0a9ff
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ async fn blinky(led: peripherals::PB1) {
}
bind_interrupts!(struct Irqs {
TIM2 => timer::CaptureCompareInterruptHandler<peripherals::TIM2>;
TIM2 => timer::InterruptHandler<peripherals::TIM2>;
});
#[embassy_executor::main]

View File

@ -34,7 +34,7 @@ async fn blinky(led: peripherals::PB1) {
}
bind_interrupts!(struct Irqs {
TIM2 => timer::CaptureCompareInterruptHandler<peripherals::TIM2>;
TIM2 => timer::InterruptHandler<peripherals::TIM2>;
});
#[embassy_executor::main]