MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard
Dependencies: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- Revision:
- 151:75b96c3419ae
- Parent:
- 146:41c900c6edad
- Child:
- 152:e031802d24ad
diff -r 40e8745c0ee4 -r 75b96c3419ae Definitions.h --- a/Definitions.h Thu Mar 20 01:47:12 2014 +0000 +++ b/Definitions.h Thu Mar 20 02:24:57 2014 +0000 @@ -59,6 +59,11 @@ #define PL_ENABLE false // true - enable for endpoint light, false - disable #define PL_LIGHT_ID PL_LIGHT_ID_BILL // Default light for Philips Light +// unless we are using Philips lighting, disable the network mutex +#ifndef PL_ENABLE +#undef NETWORK_MUTEX +#endif + // External LED Light Configuration #define EXT_LED_ENABLE true // true - enable external LED endpoint light, false - disable #define EXT_LED_PIN p21 // pin to use for external LED cathode