Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: Light.h
- Revision:
- 16:fda7dbb8b47a
- Parent:
- 9:90fadae5489a
- Child:
- 21:cfdaee0a2b50
--- 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;