Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: MBEDgps.cpp
- Revision:
- 43:361a61395588
- Parent:
- 36:73e343ddca7f
- Child:
- 112:1fb53d4729af
--- a/MBEDgps.cpp Sat Mar 01 07:43:09 2014 +0000 +++ b/MBEDgps.cpp Sat Mar 01 08:21:12 2014 +0000 @@ -30,5 +30,5 @@ // update our value void MBEDgps::update() { - if (this->m_resource != NULL && this->m_resource->getValue() != NULL) strcpy(this->m_resource->getValue(),ENDPOINT_GPS_COORDS); // fixed GPS for now... + if (this->m_resource != NULL && this->m_resource->getValuePointer() != NULL) strcpy(this->m_resource->getValuePointer(),ENDPOINT_GPS_COORDS); // fixed GPS for now... }