Skip to content

Commit 5ed9257

Browse files
committed
Fix stupid bug (#981)
1 parent cfbd071 commit 5ed9257

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/espurna/web.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
3232
#endif
3333
#endif
3434

35-
#if SENSOR_SUPPORT == 0
35+
#if SENSOR_SUPPORT == 1
3636
#ifndef WEBUI_MODULE
3737
#define WEBUI_MODULE WEBUI_MODULE_SENSOR
3838
#else
@@ -41,7 +41,7 @@ Copyright (C) 2016-2018 by Xose Pérez <xose dot perez at gmail dot com>
4141
#endif
4242
#endif
4343

44-
#if defined(ITEAD_SONOFF_RFBRIDGE)
44+
#if ITEAD_SONOFF_RFBRIDGE == 1
4545
#ifndef WEBUI_MODULE
4646
#define WEBUI_MODULE WEBUI_MODULE_RFBRIDGE
4747
#else

0 commit comments

Comments
 (0)