mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added serial number parameter to lightpack
Former-commit-id: 38e7b0b32119c6b2d62d5f07d48156cbd8052306
This commit is contained in:
parent
fe1dd23768
commit
d9a66b3e6d
@ -86,7 +86,9 @@ LedDevice* Hyperion::createDevice(const Json::Value& deviceConfig)
|
||||
}
|
||||
else if (type == "lightpack")
|
||||
{
|
||||
LedDeviceLightpack* deviceLightpack = new LedDeviceLightpack();
|
||||
const std::string output = deviceConfig.get("output", "").asString();
|
||||
|
||||
LedDeviceLightpack* deviceLightpack = new LedDeviceLightpack(output);
|
||||
deviceLightpack->open();
|
||||
|
||||
device = deviceLightpack;
|
||||
|
Loading…
Reference in New Issue
Block a user