From f8d7d9796e6a4804b4732a20ac6caf491b2572e7 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Mon, 22 Jun 2015 12:13:17 +0530 Subject: [PATCH] few changes --- modules/distribution/src/sketches/firealarm_wifi/PushData.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/distribution/src/sketches/firealarm_wifi/PushData.ino b/modules/distribution/src/sketches/firealarm_wifi/PushData.ino index 64150d0d..4532ea31 100644 --- a/modules/distribution/src/sketches/firealarm_wifi/PushData.ino +++ b/modules/distribution/src/sketches/firealarm_wifi/PushData.ino @@ -64,6 +64,8 @@ void pushData(){ delay(100); + pushClient.flush(); + pushClient.close(); wdt_reset(); // if(true) {