Only put into DMX_SEND_ONLY if we arent trying to do input
This commit is contained in:
@@ -19,7 +19,7 @@ Distributed as-is; no warranty is given.
|
|||||||
#ifndef SparkFunDMX_h
|
#ifndef SparkFunDMX_h
|
||||||
#define 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 ----
|
// ---- Methods ----
|
||||||
|
|
||||||
|
|||||||
@@ -128,6 +128,9 @@
|
|||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
#include "src/dependencies/dmx/ESPDMX.h"
|
#include "src/dependencies/dmx/ESPDMX.h"
|
||||||
#else //ESP32
|
#else //ESP32
|
||||||
|
#ifndef WLED_ENABLE_DMX_INPUT
|
||||||
|
#define DMX_SEND_ONLY
|
||||||
|
#endif
|
||||||
#include "src/dependencies/dmx/SparkFunDMX.h"
|
#include "src/dependencies/dmx/SparkFunDMX.h"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user