An API for using MQTT over multiple transports
Dependents: Water_Monitor_clone_v1 Cloud_IBM_MbedOS ble-star-mbed
Fork of MQTT by
Revision 51:5042d7e56f7e, committed 2017-09-25
- Comitter:
- icraggs
- Date:
- Mon Sep 25 11:00:18 2017 +0000
- Parent:
- 45:37f007d2a8ae
- Child:
- 52:3f9919941b86
- Commit message:
- Change Timer initialization in Countdown class to avoid copy constructor
Changed in this revision
| MQTTmbed.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTmbed.h Mon Aug 03 12:40:57 2015 +0000
+++ b/MQTTmbed.h Mon Sep 25 11:00:18 2017 +0000
@@ -6,14 +6,13 @@
class Countdown
{
public:
- Countdown()
+ Countdown() : t()
{
- t = Timer();
+
}
- Countdown(int ms)
+ Countdown(int ms) : t()
{
- t = Timer();
countdown_ms(ms);
}
