Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: mqtt.cpp
- 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;
}
