Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
3:8173336969c9
Parent:
1:5d332fa199ce
Child:
5:c1c4d511b589
--- a/Light.cpp	Mon Feb 24 19:27:34 2014 +0000
+++ b/Light.cpp	Mon Feb 24 19:28:51 2014 +0000
@@ -29,7 +29,7 @@
         this->m_transports[i]->setEndpoint(this);
      }
      sprintf(this->m_name,LIGHT_NAME,instance);
-     this->createResources();
+     this->resources()->createResources();
      
      // DEBUG
      this->logger()->log("Light name:%s\n", this->getName());