Merge pull request #354 from hathach/cxd56-disconnect-connect

Cxd56 disconnect connect
This commit is contained in:
Ha Thach
2020-04-17 13:12:47 +07:00
committed by GitHub
13 changed files with 52 additions and 39 deletions

View File

@@ -201,17 +201,17 @@ void dcd_remote_wakeup(uint8_t rhport)
DEV_WAKEUP(usbdev);
}
#if 0 // TODO implement for Spresense
void dcd_connect(uint8_t rhport)
{
(void) rhport;
DEV_CONNECT(usbdev);
}
void dcd_disconnect(uint8_t rhport)
{
(void) rhport;
DEV_DISCONNECT(usbdev);
}
#endif
//--------------------------------------------------------------------+
// Endpoint API