Fix compile error when hue emulation disabled

This commit is contained in:
Theo Arends 2020-03-15 14:53:05 +01:00
parent 495f225f5d
commit 6cc4f224cf
1 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@
*/
#ifdef USE_ZIGBEE
#if defined(USE_WEBSERVER) && defined(USE_EMULATION) && defined(USE_EMULATION_HUE) && defined(USE_LIGHT)
// Add global functions for Hue Emulation
@ -296,4 +297,5 @@ void ZigbeeHandleHue(uint16_t shortaddr, uint32_t device_id, String &response) {
free(buf);
}
#endif // USE_ZIGBEE
#endif // USE_WEBSERVER && USE_EMULATION && USE_EMULATION_HUE
#endif // USE_ZIGBEE