mirror of
https://github.com/wled/WLED.git
synced 2025-07-19 16:56:35 +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!");
|
||||
connected = true;
|
||||
}
|
||||
|
||||
if (isIdentifyOn())
|
||||
{
|
||||
DEBUG_PRINTLN("RDM Identify active");
|
||||
turnOnAllLeds();
|
||||
}
|
||||
else if (!packet.is_rdm)
|
||||
{
|
||||
dmx_read(inputPortNum, dmxdata, packet.size);
|
||||
@ -192,6 +186,12 @@ void DMXInput::update()
|
||||
connected = false;
|
||||
USER_PRINTLN("DMX was disconnected.");
|
||||
}
|
||||
|
||||
if (isIdentifyOn())
|
||||
{
|
||||
DEBUG_PRINTLN("RDM Identify active");
|
||||
turnOnAllLeds();
|
||||
}
|
||||
}
|
||||
|
||||
void DMXInput::turnOnAllLeds()
|
||||
|
Loading…
x
Reference in New Issue
Block a user