mspm0: L110x has no group1

This commit is contained in:
i509VCB 2025-05-20 12:35:17 -05:00
parent 44dce82061
commit 156bf00009
No known key found for this signature in database
GPG Key ID: 3E860D038915EF88

View File

@ -10,7 +10,7 @@ use embassy_sync::waitqueue::AtomicWaker;
use crate::pac::gpio::vals::*;
use crate::pac::gpio::{self};
#[cfg(all(feature = "rt", mspm0c110x))]
#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
use crate::pac::interrupt;
use crate::pac::{self};
@ -1120,7 +1120,7 @@ impl Iterator for BitIter {
}
// C110x has a dedicated interrupt just for GPIOA, as it does not have a GROUP1 interrupt.
#[cfg(all(feature = "rt", mspm0c110x))]
#[cfg(all(feature = "rt", any(mspm0c110x, mspm0l110x)))]
#[interrupt]
fn GPIOA() {
gpioa_interrupt();