Skip to content

Commit d1103fe

Browse files
committed
Fix errors
1 parent 2e10754 commit d1103fe

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/timer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ pub(super) mod private {
9797
use crate::timer::MicroSecond;
9898
use cortex_m::peripheral::syst::SystClkSource;
9999
use fugit::HertzU32;
100-
use stm32g0::stm32g081::SYST;
100+
use crate::pac::SYST;
101101

102102
use super::{Rcc, TimerFrequencySettings};
103103

src/timer/monotonics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ impl Irq for pac::TIM3 {
296296
const IRQ: pac::Interrupt = pac::Interrupt::TIM3;
297297
}
298298

299+
#[cfg(any(feature = "stm32g070", feature = "stm32g071", feature = "stm32g081"))]
299300
impl Irq for pac::TIM15 {
300301
const IRQ: pac::Interrupt = pac::Interrupt::TIM15;
301302
}

0 commit comments

Comments
 (0)