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:
16:fda7dbb8b47a
Parent:
9:90fadae5489a
Child:
21:cfdaee0a2b50
diff -r 386dccd0000a -r fda7dbb8b47a Light.h
--- a/Light.h	Tue Feb 25 20:04:59 2014 +0000
+++ b/Light.h	Tue Feb 25 22:11:01 2014 +0000
@@ -31,7 +31,7 @@
         ResourceFactory   *m_resources;
         void              *m_endpoint;
         Transport         *m_transports[NUM_TRANSPORTS];
-        char               m_name[LIGHT_NAME_LEN];
+        char               m_name[LIGHT_NAME_LEN+1];
         
         void              *m_dimmer_action;
         void              *m_switch_action;