From 155c2a0ae9d00647bacd66b2ea8182030a1dd9b0 Mon Sep 17 00:00:00 2001 From: "T. van der Zwan" Date: Thu, 12 Dec 2013 22:04:41 +0000 Subject: [PATCH] Added 'lightberry' device Former-commit-id: 9ada3a0bb32e694b6e2f4da265421147559a117b --- libsrc/hyperion/Hyperion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/hyperion/Hyperion.cpp b/libsrc/hyperion/Hyperion.cpp index 8e42ac05..71e2a7b9 100644 --- a/libsrc/hyperion/Hyperion.cpp +++ b/libsrc/hyperion/Hyperion.cpp @@ -40,7 +40,7 @@ LedDevice* Hyperion::createDevice(const Json::Value& deviceConfig) std::transform(type.begin(), type.end(), type.begin(), ::tolower); LedDevice* device = nullptr; - if (type == "ws2801") + if (type == "ws2801" || type == "lightberry") { const std::string output = deviceConfig["output"].asString(); const unsigned rate = deviceConfig["rate"].asInt();