set no signal asap when device is detected as invalid (for #965)
This commit is contained in:
@@ -443,6 +443,7 @@ void BusHandler::run() {
|
|||||||
} else {
|
} else {
|
||||||
if (!m_device->isValid()) {
|
if (!m_device->isValid()) {
|
||||||
logNotice(lf_bus, "device invalid");
|
logNotice(lf_bus, "device invalid");
|
||||||
|
setState(bs_noSignal, RESULT_ERR_DEVICE);
|
||||||
}
|
}
|
||||||
if (!Wait(5)) {
|
if (!Wait(5)) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user