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