Emanuel Kuflik / Mbed OS smat_controller

Dependencies:   MQTT

Revision:
6:6cb13ac483e0
Parent:
5:e0d8e5e922f1
Child:
7:fd8e0604faaa
diff -r e0d8e5e922f1 -r 6cb13ac483e0 mqtt.cpp
--- a/mqtt.cpp	Tue Dec 10 23:39:25 2019 +0000
+++ b/mqtt.cpp	Wed Dec 11 20:12:21 2019 +0000
@@ -184,7 +184,6 @@
     int rc = client->publish(POSITION_TOPIC,message);
     assert(rc == 0);  
 
-//    client->yield(1000);
     return 0;
 }
 
@@ -206,8 +205,7 @@
 
     int rc = client->publish(ROAD_TOPIC,message);
     assert(rc == 0);  
-
-//    client->yield(1000);
+    
     return 0;
 }