diff --git a/wled00/wled.h b/wled00/wled.h index b51a85402..65512ea7e 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -30,7 +30,11 @@ #ifndef WLED_DISABLE_MQTT #define WLED_ENABLE_MQTT // saves 12kb #endif -#define WLED_ENABLE_ADALIGHT // saves 500b only (uses GPIO3 (RX) for serial) +#ifndef WLED_DISABLE_ADALIGHT // can be used to disable reading commands from serial RX pin (see issue #3128). + #define WLED_ENABLE_ADALIGHT // disable saves 5Kb (uses GPIO3 (RX) for serial). Related serial protocols: APALIGHT/TPM2, IMPROV, Continuous Serial Streaming +#else + #undef WLED_ENABLE_ADALIGHT // disable has priority over enable +#endif //#define WLED_ENABLE_DMX // uses 3.5kb (use LEDPIN other than 2) //#define WLED_ENABLE_JSONLIVE // peek LED output via /json/live (WS binary peek is always enabled) #ifndef WLED_DISABLE_LOXONE