From 5ed92570fada9764fd4a7be6f951079af54ab290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sat, 23 Jun 2018 19:40:09 +0200 Subject: [PATCH] Fix stupid bug (#981) --- code/espurna/web.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/espurna/web.ino b/code/espurna/web.ino index 45779587..60b829be 100644 --- a/code/espurna/web.ino +++ b/code/espurna/web.ino @@ -32,7 +32,7 @@ Copyright (C) 2016-2018 by Xose Pérez #endif #endif -#if SENSOR_SUPPORT == 0 +#if SENSOR_SUPPORT == 1 #ifndef WEBUI_MODULE #define WEBUI_MODULE WEBUI_MODULE_SENSOR #else @@ -41,7 +41,7 @@ Copyright (C) 2016-2018 by Xose Pérez #endif #endif -#if defined(ITEAD_SONOFF_RFBRIDGE) +#if ITEAD_SONOFF_RFBRIDGE == 1 #ifndef WEBUI_MODULE #define WEBUI_MODULE WEBUI_MODULE_RFBRIDGE #else