rename dcd 18 43
This commit is contained in:
@@ -105,7 +105,7 @@ void dcd_set_config(uint8_t rhport, uint8_t config_num)
|
|||||||
/// follows LPC43xx User Manual 23.10.3
|
/// follows LPC43xx User Manual 23.10.3
|
||||||
static void bus_reset(uint8_t rhport)
|
static void bus_reset(uint8_t rhport)
|
||||||
{
|
{
|
||||||
LPC_USBHS_T* const lpc_usb = LPC_USB[rhport];
|
LPC_USBHS_T* lpc_usb = LPC_USB[rhport];
|
||||||
|
|
||||||
// The reset value for all endpoint types is the control endpoint. If one endpoint
|
// The reset value for all endpoint types is the control endpoint. If one endpoint
|
||||||
// direction is enabled and the paired endpoint of opposite direction is disabled, then the
|
// direction is enabled and the paired endpoint of opposite direction is disabled, then the
|
||||||
@@ -134,7 +134,6 @@ static void bus_reset(uint8_t rhport)
|
|||||||
|
|
||||||
//------------- Queue Head & Queue TD -------------//
|
//------------- Queue Head & Queue TD -------------//
|
||||||
dcd_data_t* p_dcd = dcd_data_ptr[rhport];
|
dcd_data_t* p_dcd = dcd_data_ptr[rhport];
|
||||||
|
|
||||||
tu_memclr(p_dcd, sizeof(dcd_data_t));
|
tu_memclr(p_dcd, sizeof(dcd_data_t));
|
||||||
|
|
||||||
//------------- Set up Control Endpoints (0 OUT, 1 IN) -------------//
|
//------------- Set up Control Endpoints (0 OUT, 1 IN) -------------//
|
||||||
Reference in New Issue
Block a user