implement dcd disconnect connect

This commit is contained in:
hathach 2020-04-16 22:30:33 +07:00
parent bb2669fbc0
commit 6377699d77
No known key found for this signature in database
GPG Key ID: 2FA891220FBFD581
1 changed files with 13 additions and 0 deletions

View File

@ -397,6 +397,19 @@ void dcd_remote_wakeup(uint8_t rhport)
(void) rhport;
}
void dcd_connect(uint8_t rhport)
{
(void) rhport;
usb_pullup_out_write(1);
}
void dcd_disconnect(uint8_t rhport)
{
(void) rhport;
usb_pullup_out_write(0);
}
//--------------------------------------------------------------------+
// DCD Endpoint Port
//--------------------------------------------------------------------+