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);