set no signal asap when device is detected as invalid (for #965)

This commit is contained in:
John
2023-08-06 08:59:38 +02:00
parent 949b366fe6
commit e3abbf1b09
+1
View File
@@ -443,6 +443,7 @@ void BusHandler::run() {
} else {
if (!m_device->isValid()) {
logNotice(lf_bus, "device invalid");
setState(bs_noSignal, RESULT_ERR_DEVICE);
}
if (!Wait(5)) {
break;