Fix build on non-nrf52840

This commit is contained in:
Dario Nieuwenhuis 2021-01-03 22:30:47 +01:00
parent ace4f40f80
commit 39ca8b8ded

View File

@ -430,6 +430,7 @@ impl Instance for pac::UARTE0 {
}
}
#[cfg(any(feature = "52833", feature = "52840", feature = "9160"))]
impl Instance for pac::UARTE1 {
type Interrupt = interrupt::UARTE1Interrupt;
fn storage() -> &'static peripheral::Store<State<'static, Self>> {