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:
175:d17460899bc9
Parent:
174:e8f11d1b5e3f
Child:
176:3c86e0cf7e21
--- a/main.cpp	Thu Aug 28 20:56:35 2014 +0000
+++ b/main.cpp	Thu Aug 28 21:08:34 2014 +0000
@@ -76,8 +76,8 @@
  #if SF_STATUS_REPORTING
     // include Saleforce status reporting
     #include "StatusReporter.h"
-    StatusReporter *sf_status_reporter = NULL;
  #endif
+ void *sf_status_reporter = NULL;
  
  #ifdef MAC_ADDRESS
  extern "C" void mbed_mac_address(char *s);
@@ -144,7 +144,7 @@
     error_handler = new ErrorHandler(&pc,&lcd);
     
 #if SF_STATUS_REPORTING
-    sf_status_reporter = new StatusReporter(error_handler);
+    sf_status_reporter = (void *)new StatusReporter(error_handler);
 #endif
 
 #ifdef CELLULAR_NETWORK