summaryrefslogtreecommitdiff
path: root/tinyusb/device/usbd_dcd.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-11-15 16:47:26 +0700
committerhathach <[email protected]>2013-11-15 16:47:26 +0700
commit6e463caec046dbba754a2fae4d0f80a3e6665ee7 (patch)
tree1e771c0d1302603c77d2dd8dda4b2a2af96ce015 /tinyusb/device/usbd_dcd.h
parentd4a260c0907ef678fb354933aae89df9a396bb0e (diff)
add semaphore for control xfer for > 64 support for some mcu such as lpc11u/lpc17xx
Diffstat (limited to 'tinyusb/device/usbd_dcd.h')
-rw-r--r--tinyusb/device/usbd_dcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/device/usbd_dcd.h b/tinyusb/device/usbd_dcd.h
index 4a466a112..e72cdf060 100644
--- a/tinyusb/device/usbd_dcd.h
+++ b/tinyusb/device/usbd_dcd.h
@@ -61,6 +61,7 @@
typedef struct {
volatile uint8_t state;
+ uint8_t is_waiting_control_xfer; // set if task is waiting for control xfer to complete to proceed
tusb_control_request_t control_request;
uint8_t interface2class[USBD_MAX_INTERFACE]; // determine interface number belongs to which class
}usbd_device_info_t;