Skip to content

Commit

Permalink
Merge pull request #4 from Sthing/master
Browse files Browse the repository at this point in the history
Includes for pgmspace modified so also work on ESP8266
  • Loading branch information
awickert authored Oct 11, 2017
2 parents 1601630 + da79bfb commit 8f6c435
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DS3231.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <avr/pgmspace.h>
#elif defined(ESP8266)
#include <pgmspace.h>
#endif
// Changed the following to work on 1.0
//#include "WProgram.h"
#include <Arduino.h>
Expand Down

0 comments on commit 8f6c435

Please sign in to comment.