cmsisDAP: initWithHID: displays index not device_idx (not updated when not found)
This commit is contained in:
parent
2e2f0687d9
commit
139eba403b
|
|
@ -295,7 +295,7 @@ bool CmsisDAP::initWithHID(const cable_t &cable, int index, int8_t verbose){
|
||||||
if (!found) {
|
if (!found) {
|
||||||
hid_exit();
|
hid_exit();
|
||||||
printError(
|
printError(
|
||||||
"CmsisDAP: no compatible interface with index " + std::to_string(_device_idx));
|
"CmsisDAP: no compatible interface with index " + std::to_string(index));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue