mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
rework bootsequence (#30)
* udplistener/boblight: use hyperion::getInstance hyperiond: fix dispmanx is started twice hyperiond: rework bootsequence - now named as InitalEffect * pull out webconfig from hyperiondaemon to functional when daemon crashes initialEffect: forbid foreground effect duration infinitiy
This commit is contained in:
@@ -10,15 +10,14 @@
|
||||
#include "utils/ColorRgb.h"
|
||||
#include "HyperionConfig.h"
|
||||
|
||||
UDPListener::UDPListener(Hyperion *hyperion, const int priority, const int timeout, uint16_t port) :
|
||||
UDPListener::UDPListener(const int priority, const int timeout, uint16_t port) :
|
||||
QObject(),
|
||||
_hyperion(hyperion),
|
||||
_hyperion(Hyperion::getInstance()),
|
||||
_server(),
|
||||
_openConnections(),
|
||||
_priority(priority),
|
||||
_timeout(timeout),
|
||||
_ledColors(hyperion->getLedCount(), ColorRgb::BLACK)
|
||||
|
||||
_ledColors(Hyperion::getInstance()->getLedCount(), ColorRgb::BLACK)
|
||||
{
|
||||
_server = new QUdpSocket(this);
|
||||
if (!_server->bind(QHostAddress::Any, port))
|
||||
|
Reference in New Issue
Block a user