Skip to content

Commit

Permalink
Fix bug in example.
Browse files Browse the repository at this point in the history
Closes #77.
  • Loading branch information
JChristensen committed Mar 21, 2020
1 parent 4ff3f0c commit 5122615
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 @@ -75,7 +75,7 @@ time_t compileTime()
{
const time_t FUDGE(10); //fudge factor to allow for upload time, etc. (seconds, YMMV)
const char *compDate = __DATE__, *compTime = __TIME__, *months = "JanFebMarAprMayJunJulAugSepOctNovDec";
char compMon[3], *m;
char compMon[4], *m;

strncpy(compMon, compDate, 3);
compMon[3] = '\0';
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.10
version=1.2.11
author=Jack Christensen <jack.christensen@outlook.com>
maintainer=Jack Christensen <jack.christensen@outlook.com>
sentence=Arduino Library for Maxim Integrated DS3232 and DS3231 Real-Time Clocks.
Expand Down

0 comments on commit 5122615

Please sign in to comment.