Initialize _updateCallback to a null ptr.

This commit is contained in:
Dean Blackketter 2018-01-16 14:37:22 -08:00
parent 182d69ddb9
commit ab157e8a77

View File

@ -32,7 +32,7 @@ class NTPClient {
byte _packetBuffer[NTP_PACKET_SIZE]; byte _packetBuffer[NTP_PACKET_SIZE];
NTPUpdateCallbackFunction _updateCallback; NTPUpdateCallbackFunction _updateCallback = NULL;
void sendNTPPacket(); void sendNTPPacket();
bool checkResponse(); bool checkResponse();