mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Diff: MQTTTransport.cpp
- Revision:
- 43:14ccc830d6a6
- Parent:
- 42:297585f8e7bd
- Child:
- 49:965a65122c0f
- Child:
- 52:8b95544920af
diff -r 297585f8e7bd -r 14ccc830d6a6 MQTTTransport.cpp --- 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;