Minor changes.

Added compile-time WS2801 bus speed option WLED_WS2801_SPEED_KHZ.
This commit is contained in:
Blaz Kristan
2021-11-08 21:51:15 +01:00
parent 04c9646e05
commit 5773f141b8
2 changed files with 16 additions and 5 deletions

View File

@@ -233,7 +233,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