We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295c6ea commit 26738deCopy full SHA for 26738de
src/timer/interrupts.rs
@@ -20,7 +20,9 @@ pub struct InterruptTypes {
20
pub(crate) const TIM2: Interrupt = Interrupt::TIM2;
21
cfg_if::cfg_if! {
22
if #[cfg(feature = "svd-f301")] {
23
+ #[allow(unused)]
24
pub(crate) const TIM3: Interrupt = Interrupt::TIM3_IRQ;
25
26
pub(crate) const TIM4: Interrupt = Interrupt::TIM4_IRQ;
27
} else if #[cfg(any(feature = "svd-f303", feature = "svd-f302", feature = "svd-f373"))] {
28
pub(crate) const TIM3: Interrupt = Interrupt::TIM3;
0 commit comments