kopia lustrzana https://github.com/Aircoookie/WLED
Porównaj commity
2 Commity
55d5c4a992
...
0493f60bd2
Autor | SHA1 | Data |
---|---|---|
Andreas | 0493f60bd2 | |
Andreas Kling | c3787af29d |
|
@ -346,7 +346,6 @@ void handleArtnetPollReply(IPAddress ipAddress) {
|
||||||
|
|
||||||
switch (DMXMode) {
|
switch (DMXMode) {
|
||||||
case DMX_MODE_DISABLED:
|
case DMX_MODE_DISABLED:
|
||||||
return; // nothing to do
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DMX_MODE_SINGLE_RGB:
|
case DMX_MODE_SINGLE_RGB:
|
||||||
|
@ -391,9 +390,17 @@ void handleArtnetPollReply(IPAddress ipAddress) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (uint16_t i = startUniverse; i <= endUniverse; ++i) {
|
if (DMXMode != DMX_MODE_DISABLED) {
|
||||||
sendArtnetPollReply(&artnetPollReply, ipAddress, i);
|
for (uint16_t i = startUniverse; i <= endUniverse; ++i) {
|
||||||
|
sendArtnetPollReply(&artnetPollReply, ipAddress, i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WLED_ENABLE_DMX
|
||||||
|
if (e131ProxyUniverse > 0 && (DMXMode == DMX_MODE_DISABLED || (e131ProxyUniverse < startUniverse || e131ProxyUniverse > endUniverse))) {
|
||||||
|
sendArtnetPollReply(&artnetPollReply, ipAddress, e131ProxyUniverse);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void prepareArtnetPollReply(ArtPollReply *reply) {
|
void prepareArtnetPollReply(ArtPollReply *reply) {
|
||||||
|
|
Ładowanie…
Reference in New Issue