Skip to content

Commit 3e05cba

Browse files
committed
Fixed issue #19
1 parent c341f04 commit 3e05cba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"type": "git",
1212
"url": "https://github.com/ropg/ezTime"
1313
},
14-
"version": "0.7.7",
14+
"version": "0.7.8",
1515
"framework": "arduino",
1616
"platforms": "*",
1717
"build": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ezTime
2-
version=0.7.7
2+
version=0.7.8
33
author=Rop Gonggrijp
44
maintainer=Rop Gonggrijp
55
sentence=ezTime - pronounced "Easy Time" - is a very easy to use Arduino time and date library that provides NTP network time lookups, extensive timezone support, formatted time and date strings, user events, millisecond precision and more.

src/ezTime.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ namespace ezt {
192192
if (!_initialised) {
193193
for (uint8_t n = 0; n < MAX_EVENTS; n++) _events[n] = { 0, NULL };
194194
#ifdef EZTIME_NETWORK_ENABLE
195-
updateNTP(); // Start the cycle of updateNTP running and then setting an event for its next run
195+
if (_ntp_interval) updateNTP(); // Start the cycle of updateNTP running and then setting an event for its next run
196196
#endif
197197
_initialised = true;
198198
}

0 commit comments

Comments
 (0)