From 9ca3647695792cca77ae1bfa40d87f78fc9d23d6 Mon Sep 17 00:00:00 2001 From: Pol Henarejos Date: Fri, 20 Mar 2026 14:34:46 +0100 Subject: [PATCH] Do not include OTP FIDO in the CCID interface if not available. Signed-off-by: Pol Henarejos --- src/usb/usb_descriptors.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/usb/usb_descriptors.c b/src/usb/usb_descriptors.c index 504e403..481655e 100644 --- a/src/usb/usb_descriptors.c +++ b/src/usb/usb_descriptors.c @@ -325,7 +325,11 @@ char const *string_desc_arr [] = { "Config" // 4: Vendor Interface , "HID Interface" , "HID Keyboard Interface" +#ifdef USB_ITF_HID , "CCID OTP FIDO Interface" +#else + , "CCID Interface" +#endif , "WebCCID Interface" };