mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
fix last merge
This commit is contained in:
parent
9cfefda7ce
commit
5aeec2e1e5
@ -17,10 +17,7 @@ LedDeviceUdpH801::LedDeviceUdpH801(const Json::Value &deviceConfig)
|
|||||||
bool LedDeviceUdpH801::setConfig(const Json::Value &deviceConfig)
|
bool LedDeviceUdpH801::setConfig(const Json::Value &deviceConfig)
|
||||||
{
|
{
|
||||||
/* The H801 port is fixed */
|
/* The H801 port is fixed */
|
||||||
ProviderUdp::setConfig(deviceConfig, 30977, "255.255.255.255");
|
ProviderUdp::setConfig(deviceConfig, 10000000, 30977, "255.255.255.255");
|
||||||
|
|
||||||
/* 10ms seems to be a safe default for the wait time */
|
|
||||||
_LatchTime_ns = deviceConfig.get("latchtime", 10000000).asInt();
|
|
||||||
|
|
||||||
_ids.clear();
|
_ids.clear();
|
||||||
for (Json::Value::ArrayIndex i = 0; i < deviceConfig["lightIds"].size(); i++) {
|
for (Json::Value::ArrayIndex i = 0; i < deviceConfig["lightIds"].size(); i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user