Initialize _updateCallback to a null ptr.
This commit is contained in:
parent
182d69ddb9
commit
ab157e8a77
@ -32,7 +32,7 @@ class NTPClient {
|
||||
|
||||
byte _packetBuffer[NTP_PACKET_SIZE];
|
||||
|
||||
NTPUpdateCallbackFunction _updateCallback;
|
||||
NTPUpdateCallbackFunction _updateCallback = NULL;
|
||||
|
||||
void sendNTPPacket();
|
||||
bool checkResponse();
|
||||
|
Loading…
Reference in New Issue
Block a user