Browse Source

Disable SSDP_SUPPORT if there is no WEB_SUPPORT

i18n
Xose Pérez 6 years ago
parent
commit
b1542f1574
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      code/espurna/config/general.h

+ 5
- 0
code/espurna/config/general.h View File

@ -414,6 +414,11 @@ PROGMEM const char* const custom_reset_string[] = {
#define SSDP_SUPPORT 0 // Publish device using SSDP protocol by default (3.32Kb) #define SSDP_SUPPORT 0 // Publish device using SSDP protocol by default (3.32Kb)
#endif #endif
#if WEB_SUPPORT == 0
#undef SSDP_SUPPORT
#define SSDP_SUPPORT 0 // SSDP support requires web support
#endif
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// SPIFFS // SPIFFS
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------


Loading…
Cancel
Save