From 68282682de6e28dcd56d2d351dfee2cded7163f1 Mon Sep 17 00:00:00 2001 From: GUVWAF Date: Sat, 1 Oct 2022 12:03:35 +0200 Subject: [PATCH] Use new SimRadio in main for Portduino --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 2305ca038..08d021ac5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,7 @@ #include "nimble/NimbleBluetooth.h" #endif -#if HAS_WIFI +#if HAS_WIFI || defined(ARCH_PORTDUINO) #include "mesh/wifi/WiFiServerAPI.h" #include "mqtt/MQTT.h" #endif @@ -45,6 +45,9 @@ #include "RF95Interface.h" #include "SX1262Interface.h" #include "SX1268Interface.h" +#if !HAS_RADIO +#include "SimRadio.h" +#endif #if HAS_BUTTON #include "ButtonThread.h"