Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT

This commit is contained in:
Arne
2023-08-23 14:50:22 +02:00
committed by Will Tatam
parent 84eb6fd460
commit 7f9cc67518
11 changed files with 32 additions and 24 deletions

View File

@@ -583,6 +583,13 @@
#define DEFAULT_LED_COUNT 30
#define INTERFACE_UPDATE_COOLDOWN 1000 // time in ms to wait between websockets, alexa, and MQTT updates
#ifdef WLED_ENABLE_DMX_OUTPUT
#if (LEDPIN == 2)
#undef LEDPIN
#define LEDPIN 1
#warning "Pin conflict compiling with DMX and LEDs on pin 2. The default LED pin has been changed to pin 1."
#endif
#endif
#define PIN_RETRY_COOLDOWN 3000 // time in ms after an incorrect attempt PIN and OTA pass will be rejected even if correct
#define PIN_TIMEOUT 900000 // time in ms after which the PIN will be required again, 15 minutes