MBED_DEMOS / Mbed 2 deprecated mbed_mqtt_endpoint_ublox_ethernet

Dependencies:   C027 C12832 EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed

Revision:
168:1539ef71d305
Parent:
167:41a25569800c
Child:
169:6ee5d76fc0e7
--- a/EmulatedResourceFactory.cpp	Tue Mar 25 03:25:42 2014 +0000
+++ b/EmulatedResourceFactory.cpp	Tue Mar 25 03:26:36 2014 +0000
@@ -100,8 +100,8 @@
     this->createResource("/gps/int","60");
     this->createResource("/gps/fix","1");
     this->createResource("/nw/pipaddr","N/A");
-    this->createResource("/dev/W","0.1W",&init_wattage,NULL);
-    this->createResource("/nw/prssi","-73",&init_rssi,NULL);
+    this->createResource("/dev/W","0.1W",(void *)&init_wattage,NULL);
+    this->createResource("/nw/prssi","-73",(void *)&init_rssi,NULL);
     this->createResource("/sen/temp","10.0C",(void *)&init_temperature,NULL);
     this->createResource("/dev/t","10.0C",(void *)&init_temperature,NULL);
     this->createResource("/sen/V","5.0V",(void *)&init_voltage,NULL);