initialize as a bridge device
This commit is contained in:
parent
46a860fca9
commit
9e390cff8b
@ -62,7 +62,10 @@ void DmxWidget::open()
|
||||
getSerialNumber(); // request a serial number
|
||||
getParameters(0); // get the metadata while we're here
|
||||
if (wait_for(reply_serial)) // widget is found if a serial number reply is received
|
||||
{
|
||||
setModeBridge(); // widget defaults to bridge, so sync our state
|
||||
emit connectedChanged(isConnected());
|
||||
}
|
||||
else
|
||||
close();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user