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: MBEDCurrent.cpp
- Revision:
- 43:361a61395588
- Parent:
- 36:73e343ddca7f
- Child:
- 52:f0b4710c43f9
--- a/MBEDCurrent.cpp Sat Mar 01 07:43:09 2014 +0000 +++ b/MBEDCurrent.cpp Sat Mar 01 08:21:12 2014 +0000 @@ -31,5 +31,5 @@ // update our value void MBEDCurrent::update() { float current = 1.5; // fixed for now... - if (this->m_resource != NULL && this->m_resource->getValue() != NULL) sprintf(this->m_resource->getValue(),"%.1f",current); + if (this->m_resource != NULL && this->m_resource->getValuePointer() != NULL) sprintf(this->m_resource->getValuePointer(),"%.1f",current); }