diff options
Diffstat (limited to 'HouseControl.ino')
-rw-r--r-- | HouseControl.ino | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/HouseControl.ino b/HouseControl.ino index 42eae68..b62d743 100644 --- a/HouseControl.ino +++ b/HouseControl.ino @@ -156,14 +156,14 @@ void sendNTPpacket() { // Packet buffer byte pb[48]; // set all bytes in the buffer to 0 - memset(pb, 0, sizeof(pb)); + memset(pb, 0, sizeof(pb)); // Initialize values needed to form NTP request pb[0] = 0b11100011; // LI, Version, Mode pb[1] = 0; // Stratum, or type of clock pb[2] = 6; // Polling Interval pb[3] = 0xEC; // Peer Clock Precision // 8 bytes of zero for Root Delay & Root Dispersion - pb[12] = 49; + pb[12] = 49; pb[13] = 0x4E; pb[14] = 49; pb[15] = 52; @@ -616,4 +616,4 @@ void loop() { digitalWrite(STATUS_LED, LOW); } } - +
|