Removed blocking keepalive code

Dependencies:   EthernetInterface mbed-rtos

Fork of niMQTT by Guilhem Saurel

Revision:
9:8e43b5519a4a
Parent:
8:438958bb9df3
--- a/niMQTT.cpp	Tue Aug 13 13:36:05 2013 +0000
+++ b/niMQTT.cpp	Tue Oct 22 20:37:27 2013 +0000
@@ -342,8 +342,8 @@
     while (connected) {
         if (debug) printf("New loop in thread worker\r\n");
         recv();
-        Thread::wait(KEEP_ALIVE*100); // KEEP_ALIVE / 10 in seconds
-        if (!packet_sent) pingreq();
+//        Thread::wait(KEEP_ALIVE*100); // KEEP_ALIVE / 10 in seconds
+//        if (!packet_sent) pingreq();
         packet_sent = false;
     }
 }