stm32: Temporary fix around incomplete stm32-metapac

This commit is contained in:
Romain Goyet 2024-09-04 18:06:46 -04:00 committed by Dario Nieuwenhuis
parent 3b8859653e
commit b449e04a88

View File

@ -35,7 +35,7 @@ pub(crate) trait SealedInstance: RccPeripheral {
#[allow(private_bounds)]
pub trait Instance: SealedInstance + 'static {}
foreach_interrupt! {
($inst:ident, lptim, LPTIM_ADV, UP, $irq:ident) => {
($inst:ident, lptim, LPTIM_ADV, GLOBAL, $irq:ident) => {
impl SealedInstance for crate::peripherals::$inst {
fn regs() -> crate::pac::lptim::LptimAdv {
crate::pac::$inst