diff --git a/deploy/hyperion.tar.gz b/deploy/hyperion.tar.gz index 98281780..0cc76f46 100644 Binary files a/deploy/hyperion.tar.gz and b/deploy/hyperion.tar.gz differ diff --git a/libsrc/leddevice/LedDeviceFactory.cpp b/libsrc/leddevice/LedDeviceFactory.cpp index ff403bc3..dd5b6f45 100644 --- a/libsrc/leddevice/LedDeviceFactory.cpp +++ b/libsrc/leddevice/LedDeviceFactory.cpp @@ -1,4 +1,6 @@ +#include + // Leddevice includes #include @@ -76,13 +78,13 @@ LedDevice * LedDeviceFactory::construct(const Json::Value & deviceConfig) // device = deviceWs2811; // } - else if (type == "ws2812b") - { - LedDeviceWs2812b * deviceWs2812b = new LedDeviceWs2812b(); - deviceWs2812b->open(); + else if (type == "ws2812b") + { + LedDeviceWs2812b * deviceWs2812b = new LedDeviceWs2812b(); + deviceWs2812b->open(); - device = deviceWs2812b; - } + device = deviceWs2812b; + } else if (type == "adalight") { const std::string output = deviceConfig["output"].asString();