Rename WLED_ENABLE_DMX to WLED_ENABLE_DMX_OUTPUT

This commit is contained in:
Arne
2023-08-23 14:50:22 +02:00
parent 6378771746
commit e3f256bd44
14 changed files with 35 additions and 35 deletions

View File

@@ -115,7 +115,7 @@ void handleE131Packet(e131_packet_t* p, IPAddress clientIP, byte protocol){
}
void handleDMXData(uint16_t uni, uint16_t dmxChannels, uint8_t* e131_data, uint8_t mde, uint8_t previousUniverses) {
#ifdef WLED_ENABLE_DMX
#ifdef WLED_ENABLE_DMX_OUTPUT
// does not act on out-of-order packets yet
if (e131ProxyUniverse > 0 && uni == e131ProxyUniverse) {
for (uint16_t i = 1; i <= dmxChannels; i++)