From 619ba5e172e4c51b887e68e622bd99bf2e7f1d44 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Wed, 18 Sep 2019 23:52:51 +0200 Subject: [PATCH] Disable mDNS for freeing IRAM Compile fails (IRAM), mDNS is not a sensor and disabled by default. --- sonoff/sonoff_post.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sonoff/sonoff_post.h b/sonoff/sonoff_post.h index dacdf3b4b..9d9bbb014 100644 --- a/sonoff/sonoff_post.h +++ b/sonoff/sonoff_post.h @@ -83,6 +83,8 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c #undef CODE_IMAGE #define CODE_IMAGE 3 +#undef USE_DISCOVERY // Disable mDNS (+8k code or +23.5k code with core 2_5_x, +0.3k mem) + // -- Optional modules ------------------------- #define USE_SONOFF_IFAN // Add support for Sonoff iFan02 and iFan03 (+2k code) #define USE_TUYA_MCU // Add support for Tuya Serial MCU