summaryrefslogtreecommitdiff
path: root/tinyusb/device/usbd_dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-30 14:16:45 +0700
committerhathach <[email protected]>2013-10-30 14:16:45 +0700
commitc760c69d51e44c98f9a15feb3f93bee599026332 (patch)
tree44513093beb360ba4cfbd0095a14ccea50474a06 /tinyusb/device/usbd_dcd.h
parent3a37dd66cc06df4c326dd43257095c0069fff22e (diff)
clean up
Diffstat (limited to 'tinyusb/device/usbd_dcd.h')
-rw-r--r--tinyusb/device/usbd_dcd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinyusb/device/usbd_dcd.h b/tinyusb/device/usbd_dcd.h
index c58d852f2..27e4d737f 100644
--- a/tinyusb/device/usbd_dcd.h
+++ b/tinyusb/device/usbd_dcd.h
@@ -55,13 +55,11 @@
extern "C" {
#endif
-#define USBD_MAX_INTERFACE 10 // TODO refractor later
+#define USBD_MAX_INTERFACE 16 // TODO refractor later
#define USBD_MAX_ENDPOINT 32 // TODO refractor later
typedef struct {
volatile uint8_t state;
- uint8_t address;
uint8_t interface2class[USBD_MAX_INTERFACE]; // determine interface number belongs to which class
- uint8_t endpoint_idx2class[USBD_MAX_ENDPOINT]; // determine endpoint index belongs to which class
}usbd_device_info_t;
extern usbd_device_info_t usbd_devices[CONTROLLER_DEVICE_NUMBER];