diff --git a/wled00/src/dependencies/dmx/SparkFunDMX.h b/wled00/src/dependencies/dmx/SparkFunDMX.h index 73861153..3a24f442 100644 --- a/wled00/src/dependencies/dmx/SparkFunDMX.h +++ b/wled00/src/dependencies/dmx/SparkFunDMX.h @@ -19,7 +19,7 @@ Distributed as-is; no warranty is given. #ifndef SparkFunDMX_h #define SparkFunDMX_h -#define DMX_SEND_ONLY // this disables DMX sending features, and saves us two GPIO pins +//#define DMX_SEND_ONLY // this disables DMX sending features, and saves us two GPIO pins // ---- Methods ---- diff --git a/wled00/wled.h b/wled00/wled.h index 194eb063..f61f9015 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -128,6 +128,9 @@ #ifdef ESP8266 #include "src/dependencies/dmx/ESPDMX.h" #else //ESP32 + #ifndef WLED_ENABLE_DMX_INPUT + #define DMX_SEND_ONLY + #endif #include "src/dependencies/dmx/SparkFunDMX.h" #endif #endif