Merge pull request #6328 from s-hadinger/ir_full_code_shrink

Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k
This commit is contained in:
Theo Arends 2019-08-31 11:51:16 +02:00 committed by GitHub
commit 12a5e500ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,7 +328,8 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c
#define CODE_IMAGE 7
#undef USE_EMULATION_HUE // disable Hue emulation - only for lights and relays
//#undef USE_EMULATION_WEMO // disable Wemo emulation - only for relays
#undef USE_EMULATION_WEMO // disable Wemo emulation - only for relays
#undef USE_EMULATION
//#undef USE_DOMOTICZ // Disable Domoticz
//#undef USE_HOME_ASSISTANT // Disable Home Assistant
@ -338,7 +339,7 @@ char* ToHex_P(const unsigned char * in, size_t insz, char * out, size_t outsz, c
//#undef USE_TIMERS_WEB // Disable support for timer webpage
//#undef USE_SUNRISE // Disable support for Sunrise and sunset tools
//#undef USE_RULES // Disable support for rules
//#undef USE_DISCOVERY // Disable mDNS for the following services (+8k code or +23.5k code with core 2_5_x, +0.3k mem)
#undef USE_DISCOVERY // Disable mDNS for the following services (+8k code or +23.5k code with core 2_5_x, +0.3k mem)
// -- Optional modules -------------------------
#undef USE_BUZZER // Disable support for a buzzer (+0k6 code)