mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
set fadecandy default port to original fcserver port number
tune debug output of fadecandy device Former-commit-id: 651459e5294ce5721ebe3bb2a6acdc1d096d9cfb
This commit is contained in:
@@ -21,8 +21,6 @@ LedDeviceFadeCandy::LedDeviceFadeCandy(const std::string& host, const uint16_t p
|
||||
_opc_data[1] = OPC_SET_PIXELS;
|
||||
_opc_data[2] = 0;
|
||||
_opc_data[3] = 0;
|
||||
|
||||
qDebug("connect to %s %i",_host.c_str(),_port);
|
||||
}
|
||||
|
||||
LedDeviceFadeCandy::~LedDeviceFadeCandy()
|
||||
@@ -38,7 +36,7 @@ bool LedDeviceFadeCandy::isConnected()
|
||||
bool LedDeviceFadeCandy::tryConnect()
|
||||
{
|
||||
if ( _client.state() == QAbstractSocket::UnconnectedState ) {
|
||||
qDebug("connecting");
|
||||
qDebug("connecting to %s %i",_host.c_str(),_port);
|
||||
QHostAddress addr(_host.c_str());
|
||||
_client.connectToHost(addr, _port);
|
||||
if (_client.waitForConnected(1000))
|
||||
|
||||
Reference in New Issue
Block a user