notify running requests on device error
This commit is contained in:
@@ -197,8 +197,10 @@ void BusHandler::run()
|
|||||||
|
|
||||||
if (result == RESULT_OK)
|
if (result == RESULT_OK)
|
||||||
logNotice(lf_bus, "re-opened %s", m_device->getName());
|
logNotice(lf_bus, "re-opened %s", m_device->getName());
|
||||||
else
|
else {
|
||||||
logError(lf_bus, "unable to open %s: %s", m_device->getName(), getResultCode(result));
|
logError(lf_bus, "unable to open %s: %s", m_device->getName(), getResultCode(result));
|
||||||
|
setState(bs_noSignal, result);
|
||||||
|
}
|
||||||
symCount = 0;
|
symCount = 0;
|
||||||
}
|
}
|
||||||
} while (isRunning());
|
} while (isRunning());
|
||||||
|
|||||||
Reference in New Issue
Block a user