Only put into DMX_SEND_ONLY if we arent trying to do input

This commit is contained in:
Will Tatam
2023-02-18 14:26:40 +00:00
parent 622118f25c
commit c600c4fe72
2 changed files with 4 additions and 1 deletions

View File

@@ -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 ----

View File

@@ -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