From 96c38d6757eddfaba3911ec3d396007fee041a6b Mon Sep 17 00:00:00 2001 From: JChristensen Date: Thu, 24 May 2018 20:24:21 -0400 Subject: [PATCH] Fixes #51. --- library.properties | 2 +- src/DS3232RTC.cpp | 6 ------ src/DS3232RTC.h | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/library.properties b/library.properties index ae87446..4c1c0c2 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=DS3232RTC -version=1.2.2 +version=1.2.3 author=Jack Christensen maintainer=Jack Christensen sentence=Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks. diff --git a/src/DS3232RTC.cpp b/src/DS3232RTC.cpp index a8e08dc..7b40445 100644 --- a/src/DS3232RTC.cpp +++ b/src/DS3232RTC.cpp @@ -18,12 +18,6 @@ // to indicate whether I2C initialization should occur in the // constructor; this parameter defaults to true if not given. -#if defined(ARDUINO) && ARDUINO >= 100 -#include -#else -#include -#endif - // define release-independent I2C functions #if defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__) || defined(__AVR_ATtiny45__) || defined(__AVR_ATtiny85__) #include diff --git a/src/DS3232RTC.h b/src/DS3232RTC.h index 0887d0f..bd35edf 100644 --- a/src/DS3232RTC.h +++ b/src/DS3232RTC.h @@ -21,6 +21,7 @@ #ifndef DS3232RTC_H_INCLUDED #define DS3232RTC_H_INCLUDED +#include #include // https://github.com/PaulStoffregen/Time // Alarm masks