mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
fix stm32g0 example
This commit is contained in:
parent
5c0cbacdd1
commit
0c37d0a9ff
@ -36,7 +36,7 @@ async fn blinky(led: peripherals::PB1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bind_interrupts!(struct Irqs {
|
bind_interrupts!(struct Irqs {
|
||||||
TIM2 => timer::CaptureCompareInterruptHandler<peripherals::TIM2>;
|
TIM2 => timer::InterruptHandler<peripherals::TIM2>;
|
||||||
});
|
});
|
||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
|
@ -34,7 +34,7 @@ async fn blinky(led: peripherals::PB1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bind_interrupts!(struct Irqs {
|
bind_interrupts!(struct Irqs {
|
||||||
TIM2 => timer::CaptureCompareInterruptHandler<peripherals::TIM2>;
|
TIM2 => timer::InterruptHandler<peripherals::TIM2>;
|
||||||
});
|
});
|
||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
|
Loading…
Reference in New Issue
Block a user