mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-02 14:44:32 +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)]
|
#[allow(private_bounds)]
|
||||||
pub trait Instance: SealedInstance + 'static {}
|
pub trait Instance: SealedInstance + 'static {}
|
||||||
foreach_interrupt! {
|
foreach_interrupt! {
|
||||||
($inst:ident, lptim, LPTIM_ADV, UP, $irq:ident) => {
|
($inst:ident, lptim, LPTIM_ADV, GLOBAL, $irq:ident) => {
|
||||||
impl SealedInstance for crate::peripherals::$inst {
|
impl SealedInstance for crate::peripherals::$inst {
|
||||||
fn regs() -> crate::pac::lptim::LptimAdv {
|
fn regs() -> crate::pac::lptim::LptimAdv {
|
||||||
crate::pac::$inst
|
crate::pac::$inst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user