parent
62fafd8eca
commit
4a9c2aa050
@ -169,7 +169,7 @@ void NTPClient::end() {
|
|||||||
this->_udpSetup = false;
|
this->_udpSetup = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void NTPClient::setTimeOffset(int timeOffset) {
|
void NTPClient::setTimeOffset(long timeOffset) {
|
||||||
this->_timeOffset = timeOffset;
|
this->_timeOffset = timeOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -89,7 +89,7 @@ class NTPClient {
|
|||||||
/**
|
/**
|
||||||
* Changes the time offset. Useful for changing timezones dynamically
|
* Changes the time offset. Useful for changing timezones dynamically
|
||||||
*/
|
*/
|
||||||
void setTimeOffset(int timeOffset);
|
void setTimeOffset(long timeOffset);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the update interval to another frequency. E.g. useful when the
|
* Set the update interval to another frequency. E.g. useful when the
|
||||||
|
Loading…
Reference in New Issue
Block a user