Fix build on non-nrf52840
This commit is contained in:
parent
ace4f40f80
commit
39ca8b8ded
@ -430,6 +430,7 @@ impl Instance for pac::UARTE0 {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(any(feature = "52833", feature = "52840", feature = "9160"))]
|
||||||
impl Instance for pac::UARTE1 {
|
impl Instance for pac::UARTE1 {
|
||||||
type Interrupt = interrupt::UARTE1Interrupt;
|
type Interrupt = interrupt::UARTE1Interrupt;
|
||||||
fn storage() -> &'static peripheral::Store<State<'static, Self>> {
|
fn storage() -> &'static peripheral::Store<State<'static, Self>> {
|
||||||
|
Loading…
Reference in New Issue
Block a user