From 8fd96d5493bfc4dd1df5f8ff18769a06f1a3a126 Mon Sep 17 00:00:00 2001 From: cheetah Date: Wed, 2 Apr 2025 00:34:23 +0200 Subject: [PATCH] ifdef fix --- src/webserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.cpp b/src/webserver.cpp index 2fdcd26..c1953af 100644 --- a/src/webserver.cpp +++ b/src/webserver.cpp @@ -458,7 +458,7 @@ void webserver_setup(cfg_t *cfg) { server.on("/setwifi2", setWifi2Cfg); server.on("/settransmitter", setTransmitterCfg); server.on("/setmqtt", setMQTTCfg); - #ifdef SMART_POC_MODULE_DWD || SMART_POC_MODULE_MOWAS + #if (defined(SMART_POC_MODULE_DWD) || defined(SMART_POC_MODULE_MOWAS)) server.on("/setdwdmowas", setDWDMoWaS); #endif server.on("/settimebeacon", setTimebeacon);