From 5b5d54c0c75e8a7fbe5370af4932c9845f4ce123 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Erik=20B=C3=A5nvik?= <erik.public@gmail.com>
Date: Tue, 5 Mar 2024 11:58:32 +0100
Subject: [PATCH] Do not build radio for nrf5340-app

---
 embassy-nrf/src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/embassy-nrf/src/lib.rs b/embassy-nrf/src/lib.rs
index e59a7bd5d..718f229a3 100644
--- a/embassy-nrf/src/lib.rs
+++ b/embassy-nrf/src/lib.rs
@@ -47,7 +47,7 @@ pub mod gpio;
 pub mod gpiote;
 
 // TODO: tested on other chips
-#[cfg(not(any(feature = "_nrf9160")))]
+#[cfg(not(any(feature = "_nrf9160", feature = "_nrf5340-app")))]
 pub mod radio;
 
 #[cfg(any(feature = "nrf52832", feature = "nrf52833", feature = "nrf52840"))]