Changed WLED_USE_DMX to WLED_ENABLE_DMX

This commit is contained in:
yoeywire 2021-11-08 17:05:47 +01:00
parent adeb9bccb1
commit 446b4b084c

View File

@ -303,7 +303,7 @@ void WLED::setup()
#ifdef WLED_DEBUG #ifdef WLED_DEBUG
pinManager.allocatePin(1, true, PinOwner::DebugOut); // GPIO1 reserved for debug output pinManager.allocatePin(1, true, PinOwner::DebugOut); // GPIO1 reserved for debug output
#endif #endif
#ifdef WLED_USE_DMX //reserve GPIO2 as hardcoded DMX pin #ifdef WLED_ENABLE_DMX //reserve GPIO2 as hardcoded DMX pin
pinManager.allocatePin(2, true, PinOwner::DMX); pinManager.allocatePin(2, true, PinOwner::DMX);
#endif #endif