diff options
author | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:22:34 +1300 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2012-03-23 08:22:34 +1300 |
commit | e9f7ad821642c9324de5dbd6dab807813065c898 (patch) | |
tree | 1cb71dbe81379839ad30ced4f734bf60ffcbe901 /HouseControl.ino | |
parent | 336bf8c22dacbf051e163f005869072df6266b02 (diff) |
Fix NTP bug - library change!
Signed-off-by: Mike Beattie <mike@ethernal.org>
Diffstat (limited to 'HouseControl.ino')
-rw-r--r-- | HouseControl.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/HouseControl.ino b/HouseControl.ino index 4a9c700..b64e8f0 100644 --- a/HouseControl.ino +++ b/HouseControl.ino @@ -451,7 +451,7 @@ void loop() { if ((time - lastNTPtime) >= 600) sendNTPpacket(); - if (NTPSocket.available() >= 46) + if (NTPSocket.parsePacket() >= 46) parseNTPresponse(); if (frontDoor.controlActive && ((time - frontDoor.controlTime) >= 10) ) { |