From b1542f1574066d684798407d831255efc6fd2efd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 21 Jan 2018 01:03:15 +0100 Subject: [PATCH] Disable SSDP_SUPPORT if there is no WEB_SUPPORT --- code/espurna/config/general.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index 9356831d..6913c07e 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -414,6 +414,11 @@ PROGMEM const char* const custom_reset_string[] = { #define SSDP_SUPPORT 0 // Publish device using SSDP protocol by default (3.32Kb) #endif +#if WEB_SUPPORT == 0 +#undef SSDP_SUPPORT +#define SSDP_SUPPORT 0 // SSDP support requires web support +#endif + // ----------------------------------------------------------------------------- // SPIFFS // -----------------------------------------------------------------------------