From da79bfb7d299fbf212eac2a8d852e6a220cf7610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Thing=20Andersen?= Date: Tue, 3 Oct 2017 20:12:44 +0200 Subject: [PATCH] Defines for pgmspace modified so also work on ESP8266 --- DS3231.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DS3231.cpp b/DS3231.cpp index b34b2aa..ae8e824 100644 --- a/DS3231.cpp +++ b/DS3231.cpp @@ -15,7 +15,11 @@ Released into the public domain. // These included for the DateTime class inclusion; will try to find a way to // not need them in the future... +#if defined(__AVR__) #include +#elif defined(ESP8266) +#include +#endif // Changed the following to work on 1.0 //#include "WProgram.h" #include