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:
151:75b96c3419ae
Parent:
149:6da931b7944d
Child:
167:41a25569800c
--- a/EmulatedResourceFactory.cpp	Thu Mar 20 01:47:12 2014 +0000
+++ b/EmulatedResourceFactory.cpp	Thu Mar 20 02:24:57 2014 +0000
@@ -68,7 +68,6 @@
      memset(this->m_gps_coords,0,PREFERENCE_VALUE_LEN+1);
      MBEDEndpoint *endpoint = (MBEDEndpoint *)this->m_endpoint;
      endpoint->preferences()->getPreference("coords",this->m_gps_coords,PREFERENCE_VALUE_LEN,ENDPOINT_GPS_COORDS);
-     for(int i=0;i<strlen(this->m_gps_coords);++i) if (this->m_gps_coords[i] == ',') this->m_gps_coords[i] = ' ';
  }
  
  // get our GPS coords from preferences