Skip to content

Commit

Permalink
Fix compile error in example sketch.
Browse files Browse the repository at this point in the history
  • Loading branch information
JChristensen committed May 25, 2018
1 parent 96c38d6 commit 05027e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/alarm_ex1/alarm_ex1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ void printDateTime(time_t t)
time_t compileTime()
{
const time_t FUDGE(10); //fudge factor to allow for upload time, etc. (seconds, YMMV)
char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec";
const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec";
char compMon[3], *m;

strncpy(compMon, compDate, 3);
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=DS3232RTC
version=1.2.3
version=1.2.4
author=Jack Christensen <[email protected]>
maintainer=Jack Christensen <[email protected]>
sentence=Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks.
Expand Down

0 comments on commit 05027e9

Please sign in to comment.