From 41b740b100a899f5012dec32076a3fd7e6fcbd85 Mon Sep 17 00:00:00 2001 From: arendst Date: Mon, 6 Feb 2017 10:08:40 +0100 Subject: [PATCH] v3.9.11a 3.9.11a * Fix compile error when webserver is disabled (#30) --- sonoff/xdrv_domoticz.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonoff/xdrv_domoticz.ino b/sonoff/xdrv_domoticz.ino index ce1743da0..3bae4b25d 100644 --- a/sonoff/xdrv_domoticz.ino +++ b/sonoff/xdrv_domoticz.ino @@ -314,6 +314,7 @@ void domoticz_sensor5(uint16_t lux) * Presentation \*********************************************************************************************/ +#ifdef USE_WEBSERVER void handleDomoticz() { if (_httpflag == HTTP_USER) { @@ -383,5 +384,6 @@ void domoticz_saveSettings() sysCfg.domoticz_sensor_idx[0], sysCfg.domoticz_sensor_idx[1], sysCfg.domoticz_sensor_idx[2], sysCfg.domoticz_sensor_idx[3], sysCfg.domoticz_sensor_idx[4]); addLog(LOG_LEVEL_INFO, log); } +#endif // USE_WEBSERVER #endif // USE_DOMOTICZ