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:
150:b898b05e9e23
Parent:
149:7fde829ed672
Child:
151:d6500663ed8c
--- a/main.cpp	Wed Apr 02 05:14:56 2014 +0000
+++ b/main.cpp	Wed Apr 02 05:28:36 2014 +0000
@@ -32,7 +32,7 @@
  
  #ifdef _ENDPOINT_UBLOX_PLATFORM
      // Serial Console Support
-     //Serial pc(USBTX, USBRX);
+     Serial pc(USBTX, USBRX);
      
      // LCD Support
      #include "C12832.h"
@@ -122,11 +122,7 @@
     memset(fmt_mac,0,RESOURCE_VALUE_LEN+1);
     sprintf(fmt_mac,"%02x:%02x:%02x:%02x:%02x:%02x",mac[0],mac[1],mac[2],mac[3],mac[4],mac[5]);
 #endif
-#ifdef _ENDPOINT_UBLOX_PLATFORM
-    error_handler = new ErrorHandler(NULL,&lcd);
-#else 
     error_handler = new ErrorHandler(&pc,&lcd);
-#endif
 #ifndef CELLULAR_NETWORK
     endpoint = new MBEDEndpoint(error_handler,&ethernet,NULL);
 #else