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:
47:fa96ddc36f04
Parent:
32:56a11a9a35a2
Child:
71:90bf61bc3727
diff -r 1041f7efee73 -r fa96ddc36f04 MBEDLight.cpp
--- a/MBEDLight.cpp	Sat Mar 01 16:10:08 2014 +0000
+++ b/MBEDLight.cpp	Sat Mar 01 17:01:46 2014 +0000
@@ -31,10 +31,6 @@
  
  // destructor
  MBEDLight::~MBEDLight() {   
-    LightDimmerAction *dimmer = (LightDimmerAction *)this->getDimmerAction();
-    LightSwitchAction *sw = (LightSwitchAction *)this->getSwitchAction();
-    if (dimmer != NULL) delete dimmer;
-    if (sw != NULL) delete sw;
  }
  
  // turn ON