mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 00:02:28 +00:00
stm32: Temporary fix around incomplete stm32-metapac
This commit is contained in:
parent
3b8859653e
commit
b449e04a88
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user