Doubled CMSIS-DAP interface response timeout

This commit is contained in:
Nav
2021-05-01 13:47:32 +01:00
parent 9e7ca25762
commit 2a6cce6681

View File

@@ -27,7 +27,7 @@ void CmsisDapInterface::sendCommand(const Command& cmsisDapCommand) {
}
std::unique_ptr<Response> CmsisDapInterface::getResponse() {
auto rawResponse = this->getUsbHidInterface().read(5000);
auto rawResponse = this->getUsbHidInterface().read(10000);
if (rawResponse.size() == 0) {
throw Exception("Empty CMSIS-DAP response received");