mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-11 01:38:26 +02:00
Fix interface descriptor when HID is disabled.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -313,10 +313,14 @@ char const *string_desc_arr [] = {
|
|||||||
"Pico Key", // 2: Product
|
"Pico Key", // 2: Product
|
||||||
"11223344", // 3: Serials, should use chip ID
|
"11223344", // 3: Serials, should use chip ID
|
||||||
"Config" // 4: Vendor Interface
|
"Config" // 4: Vendor Interface
|
||||||
|
#ifdef USB_ITF_HID
|
||||||
, "HID Interface"
|
, "HID Interface"
|
||||||
, "HID Keyboard Interface"
|
, "HID Keyboard Interface"
|
||||||
|
#endif
|
||||||
|
#ifdef USB_ITF_CCID
|
||||||
, "CCID OTP FIDO Interface"
|
, "CCID OTP FIDO Interface"
|
||||||
, "WebCCID Interface"
|
, "WebCCID Interface"
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ESP_PLATFORM
|
#ifdef ESP_PLATFORM
|
||||||
|
|||||||
Reference in New Issue
Block a user