From 39ca8b8dedb3db14f9770f09814ccf92481b6136 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 3 Jan 2021 22:30:47 +0100 Subject: [PATCH] Fix build on non-nrf52840 --- embassy-nrf/src/buffered_uarte.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/embassy-nrf/src/buffered_uarte.rs b/embassy-nrf/src/buffered_uarte.rs index 4749c3b45..c67b6f166 100644 --- a/embassy-nrf/src/buffered_uarte.rs +++ b/embassy-nrf/src/buffered_uarte.rs @@ -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> {