From 371428d6ab48576fa3b3bd43cca1e8ebc7ca6937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Sat, 1 Oct 2022 16:41:49 +0200 Subject: [PATCH] Fix compile error on nRF52 --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 08d021ac5..4fce9c9b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,7 +45,8 @@ #include "RF95Interface.h" #include "SX1262Interface.h" #include "SX1268Interface.h" -#if !HAS_RADIO + +#if !HAS_RADIO && defined(ARCH_PORTDUINO) #include "SimRadio.h" #endif