mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 01:36:32 +00:00
keep dmx rdm identify on if dmx disconnects.
Some rdm testers disconnect after setting it.
This commit is contained in:
parent
b178c08271
commit
2cc5a29b86
@ -165,12 +165,6 @@ void DMXInput::update()
|
|||||||
USER_PRINTLN("DMX is connected!");
|
USER_PRINTLN("DMX is connected!");
|
||||||
connected = true;
|
connected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isIdentifyOn())
|
|
||||||
{
|
|
||||||
DEBUG_PRINTLN("RDM Identify active");
|
|
||||||
turnOnAllLeds();
|
|
||||||
}
|
|
||||||
else if (!packet.is_rdm)
|
else if (!packet.is_rdm)
|
||||||
{
|
{
|
||||||
dmx_read(inputPortNum, dmxdata, packet.size);
|
dmx_read(inputPortNum, dmxdata, packet.size);
|
||||||
@ -192,6 +186,12 @@ void DMXInput::update()
|
|||||||
connected = false;
|
connected = false;
|
||||||
USER_PRINTLN("DMX was disconnected.");
|
USER_PRINTLN("DMX was disconnected.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isIdentifyOn())
|
||||||
|
{
|
||||||
|
DEBUG_PRINTLN("RDM Identify active");
|
||||||
|
turnOnAllLeds();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DMXInput::turnOnAllLeds()
|
void DMXInput::turnOnAllLeds()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user