cmsisDAP: initWithHID: displays index not device_idx (not updated when not found)

This commit is contained in:
Gwenhael Goavec-Merou 2026-05-24 08:52:04 +02:00
parent 58aadf8c3a
commit 468f787fdf
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}