cc

Dependencies:   MQTTPacket FP

Revision:
49:c66fdbb9eb83
Parent:
46:e335fcc1a663
diff -r 66826ea709ea -r c66fdbb9eb83 MQTTClient.h
--- a/MQTTClient.h	Wed Sep 28 15:34:12 2016 +0000
+++ b/MQTTClient.h	Mon Oct 30 13:50:53 2017 +0100
@@ -276,8 +276,6 @@
 template<class Network, class Timer, int a, int MAX_MESSAGE_HANDLERS>
 MQTT::Client<Network, Timer, a, MAX_MESSAGE_HANDLERS>::Client(Network& network, unsigned int command_timeout_ms)  : ipstack(network), packetid()
 {
-    last_sent = Timer();
-    last_received = Timer();
     this->command_timeout_ms = command_timeout_ms;
     cleanSession();
 }