nrf5x: clean up dcd, add comment

This commit is contained in:
hathach
2018-11-16 22:17:11 +07:00
parent 7219ef8ed6
commit 00694b56c5
2 changed files with 122 additions and 129 deletions

View File

@@ -70,12 +70,10 @@ typedef struct {
uint8_t itf2drv[16]; // map interface number to driver (0xff is invalid)
uint8_t ep2drv[2][8]; // map endpoint to driver ( 0xff is invalid )
}usbd_device_t;
static usbd_device_t _usbd_dev;
// Auto descriptor is enabled, descriptor set point to auto generated one
#if CFG_TUD_DESC_AUTO
extern tud_desc_set_t const _usbd_auto_desc_set;