From 3d43a618e36e4f90d5ab28da7da994d609f5d5b0 Mon Sep 17 00:00:00 2001 From: Mestery Date: Sun, 16 Apr 2023 20:54:31 +0200 Subject: [PATCH] guard arduinohal include --- src/protocols/ExternalRadio/ExternalRadio.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/protocols/ExternalRadio/ExternalRadio.h b/src/protocols/ExternalRadio/ExternalRadio.h index 2e222bab..0f721330 100644 --- a/src/protocols/ExternalRadio/ExternalRadio.h +++ b/src/protocols/ExternalRadio/ExternalRadio.h @@ -3,7 +3,9 @@ #include "../../TypeDef.h" #include "../../Module.h" +#if defined(RADIOLIB_BUILD_ARDUINO) #include "../../ArduinoHal.h" +#endif #include "../PhysicalLayer/PhysicalLayer.h"