mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
random clean up for tdi
This commit is contained in:
parent
0482f0d686
commit
b4804d1592
@ -244,7 +244,7 @@ typedef struct
|
||||
// Therefore QHD_MAX is 2 x max endpoint count
|
||||
#define QHD_MAX (8*2)
|
||||
|
||||
dcd_controller_t _dcd_controller[] =
|
||||
static const dcd_controller_t _dcd_controller[] =
|
||||
{
|
||||
// RT1010 and RT1020 only has 1 USB controller
|
||||
#if FSL_FEATURE_SOC_USBHS_COUNT == 1
|
||||
@ -258,7 +258,7 @@ typedef struct
|
||||
#else
|
||||
#define QHD_MAX (6*2)
|
||||
|
||||
dcd_controller_t _dcd_controller[] =
|
||||
static const dcd_controller_t _dcd_controller[] =
|
||||
{
|
||||
{ .regs = (dcd_registers_t*) LPC_USB0_BASE, .irqnum = USB0_IRQn, .ep_count = 6 },
|
||||
{ .regs = (dcd_registers_t*) LPC_USB1_BASE, .irqnum = USB1_IRQn, .ep_count = 4 }
|
||||
|
Loading…
x
Reference in New Issue
Block a user