Added APA102 device to factory

Former-commit-id: 4d7c8889aee2ca7b75c0e0ec90e9b5833257324d
This commit is contained in:
wayland 2014-12-03 18:41:44 +01:00
parent bdbe6a8c85
commit a4bcdcc10a

View File

@ -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();