mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Revision 43:14ccc830d6a6, committed 2014-07-01
- Comitter:
- ansond
- Date:
- Tue Jul 01 17:18:20 2014 +0000
- Parent:
- 42:297585f8e7bd
- Child:
- 44:2740794b059a
- Commit message:
- fixes to switches for mutexes
Changed in this revision
MQTTTransport.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTTransport.cpp Tue Jul 01 17:12:25 2014 +0000 +++ b/MQTTTransport.cpp Tue Jul 01 17:18:20 2014 +0000 @@ -18,11 +18,6 @@ #include "mbed.h" - #ifdef NETWORK_MUTEX - #include "rtos.h" - extern Mutex *network_mutex; - #endif - #include "MQTTTransport.h" // Endpoint Support @@ -30,6 +25,11 @@ // EmulatedResourceFactory support #include "EmulatedResourceFactory.h" + + #ifdef NETWORK_MUTEX + #include "rtos.h" + extern Mutex *network_mutex; + #endif // our transmitt instance MQTTTransport *_mqtt_instance = NULL;