From fa0664c7b30979611a2644978e2d11f89376ff95 Mon Sep 17 00:00:00 2001 From: Jens Strobel Date: Sat, 11 Aug 2018 14:32:15 +0200 Subject: [PATCH] Fix for compiling on ESP32 https://github.com/TheThingsNetwork/arduino-device-lib/issues/241 --- src/TheThingsNetwork.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TheThingsNetwork.h b/src/TheThingsNetwork.h index 92f84e13..eea393b9 100644 --- a/src/TheThingsNetwork.h +++ b/src/TheThingsNetwork.h @@ -6,7 +6,11 @@ #include #include +#ifdef ARDUINO_ARCH_AVR #include +#else +#include +#endif #define TTN_DEFAULT_SF 7 #define TTN_DEFAULT_FSB 2