mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added APA102 device to factory
Former-commit-id: 4d7c8889aee2ca7b75c0e0ec90e9b5833257324d
This commit is contained in:
parent
bdbe6a8c85
commit
a4bcdcc10a
@ -86,6 +86,7 @@ LedDevice * LedDeviceFactory::construct(const Json::Value & deviceConfig)
|
|||||||
deviceP9813->open();
|
deviceP9813->open();
|
||||||
|
|
||||||
device = deviceP9813;
|
device = deviceP9813;
|
||||||
|
}
|
||||||
else if (type == "apa102")
|
else if (type == "apa102")
|
||||||
{
|
{
|
||||||
const std::string output = deviceConfig["output"].asString();
|
const std::string output = deviceConfig["output"].asString();
|
||||||
|
Loading…
Reference in New Issue
Block a user