mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-06-11 12:58:14 +02:00
CCID and WCID structs not used.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -132,34 +132,6 @@ const uint8_t desc_config[] = {
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef USB_ITF_CCID
|
|
||||||
tusb_desc_interface_t const desc_interface = {
|
|
||||||
.bLength = sizeof(tusb_desc_interface_t),
|
|
||||||
.bDescriptorType = TUSB_DESC_INTERFACE,
|
|
||||||
.bInterfaceNumber = ITF_CCID,
|
|
||||||
.bAlternateSetting = 0,
|
|
||||||
.bNumEndpoints = 3,
|
|
||||||
.bInterfaceClass = TUSB_CLASS_SMART_CARD,
|
|
||||||
.bInterfaceSubClass = 0,
|
|
||||||
.bInterfaceProtocol = 0,
|
|
||||||
.iInterface = ITF_CCID + 5,
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef USB_ITF_WCID
|
|
||||||
tusb_desc_interface_t const desc_interface_wcid = {
|
|
||||||
.bLength = sizeof(tusb_desc_interface_t),
|
|
||||||
.bDescriptorType = TUSB_DESC_INTERFACE,
|
|
||||||
.bInterfaceNumber = ITF_WCID,
|
|
||||||
.bAlternateSetting = 0,
|
|
||||||
.bNumEndpoints = 2,
|
|
||||||
.bInterfaceClass = 0xFF,
|
|
||||||
.bInterfaceSubClass = 0,
|
|
||||||
.bInterfaceProtocol = 0,
|
|
||||||
.iInterface = ITF_WCID + 5,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USB_ITF_HID
|
#ifdef USB_ITF_HID
|
||||||
#include "apdu.h"
|
#include "apdu.h"
|
||||||
uint8_t const *tud_hid_descriptor_report_cb(uint8_t itf) {
|
uint8_t const *tud_hid_descriptor_report_cb(uint8_t itf) {
|
||||||
|
|||||||
Reference in New Issue
Block a user