From 468f787fdf28139d4c3625e921cc0aa5004caf02 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Sun, 24 May 2026 08:52:04 +0200 Subject: [PATCH] cmsisDAP: initWithHID: displays index not device_idx (not updated when not found) --- src/cmsisDAP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmsisDAP.cpp b/src/cmsisDAP.cpp index 8351345..4ade615 100644 --- a/src/cmsisDAP.cpp +++ b/src/cmsisDAP.cpp @@ -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; } }