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:
135:7f3f963cd159
Parent:
112:1fb53d4729af
Child:
155:582462821bd7
--- a/MBEDgps.cpp	Fri Mar 28 16:24:12 2014 +0000
+++ b/MBEDgps.cpp	Fri Mar 28 17:49:10 2014 +0000
@@ -36,5 +36,5 @@
      char buffer[PREFERENCE_VALUE_LEN+1];
      memset(buffer,0,PREFERENCE_VALUE_LEN+1);
      char *coords = endpoint->preferences()->getPreference("coords",buffer,PREFERENCE_VALUE_LEN,ENDPOINT_GPS_COORDS);
-     if (this->m_resource != NULL && this->m_resource->getValuePointer() != NULL) strcpy(this->m_resource->getValuePointer(),coords); // fixed GPS for now...
+     if (this->resource() != NULL && this->resource()->getValuePointer() != NULL) strcpy(this->resource()->getValuePointer(),coords); // fixed GPS for now...
  }