mirror of
https://github.com/trabucayre/openFPGALoader.git
synced 2026-08-22 06:07:36 +02:00
cmsisDAP: initWithHID: displays index not device_idx (not updated when not found)
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user