Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: EmulatedResourceFactory.cpp
- Revision:
- 31:a95cf856ce4e
- Parent:
- 9:ff877db53cfd
- Child:
- 35:27484c1273f9
--- a/EmulatedResourceFactory.cpp Fri Feb 28 18:08:11 2014 +0000
+++ b/EmulatedResourceFactory.cpp Fri Feb 28 20:39:17 2014 +0000
@@ -61,7 +61,7 @@
// set a resource value (AND trigger the Emulated actions if registered)
bool EmulatedResourceFactory::setResourceValue(char *name, char *value) {
// set the resource value
- bool success = ((ResourceFactory *)this)->setResourceValue(name,value);
+ bool success = ResourceFactory::setResourceValue(name,value);
if (success) {
// invoke an action if registered
EmulatedCallbackPointer cb = (EmulatedCallbackPointer)this->getCallbackPointer(name);