We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62fafd8 commit 4a9c2aaCopy full SHA for 4a9c2aa
NTPClient.cpp
@@ -169,7 +169,7 @@ void NTPClient::end() {
169
this->_udpSetup = false;
170
}
171
172
-void NTPClient::setTimeOffset(int timeOffset) {
+void NTPClient::setTimeOffset(long timeOffset) {
173
this->_timeOffset = timeOffset;
174
175
NTPClient.h
@@ -89,7 +89,7 @@ class NTPClient {
89
/**
90
* Changes the time offset. Useful for changing timezones dynamically
91
*/
92
- void setTimeOffset(int timeOffset);
+ void setTimeOffset(long timeOffset);
93
94
95
* Set the update interval to another frequency. E.g. useful when the
0 commit comments