Merge pull request #2324 from yoeywire/DMXdefine

Corrected WLED_USE_DMX to WLED_ENABLE_DMX
This commit is contained in:
Blaž Kristan 2021-11-09 07:57:41 +01:00 committed by GitHub
commit d6ad089c60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -303,7 +303,7 @@ void WLED::setup()
#ifdef WLED_DEBUG
pinManager.allocatePin(1, true, PinOwner::DebugOut); // GPIO1 reserved for debug output
#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);
#endif