Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
119:c620eb98af8b
Parent:
112:1fb53d4729af
Child:
124:6e9d10b1277a
--- a/main.cpp	Wed Mar 19 21:36:48 2014 +0000
+++ b/main.cpp	Thu Mar 20 01:46:22 2014 +0000
@@ -84,8 +84,10 @@
 
  // Main Entry
  int main() {
+#ifdef NETWORK_MUTEX
     network_mutex = new Mutex();
     if (network_mutex != NULL) network_mutex->unlock();
+#endif
 #ifdef MAC_ADDRESS
     mbed_mac_address(mac);
     memset(fmt_mac,0,RESOURCE_VALUE_LEN+1);