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:
160:24337c83dd1d
Parent:
144:e4d24c2c8f18
Child:
167:2529c18d0eb1
--- a/Light.h	Mon Jun 30 22:17:32 2014 +0000
+++ b/Light.h	Tue Jul 01 17:12:18 2014 +0000
@@ -35,8 +35,10 @@
         
         PhilipsLight      *m_pl;
         ExternalLEDLight  *m_ext_led;
-        
+ 
+ #ifdef ENABLE_THREADS       
         Thread            *m_blinking_thread;
+ #endif
         int                m_last_state;
         bool               m_is_blinking;
         bool               m_forward;