added dcd_remote_wakeup() stub for all ports

This commit is contained in:
hathach
2019-03-30 14:47:11 +07:00
parent cabf6abb4f
commit b28cc6ddb1
11 changed files with 109 additions and 34 deletions

View File

@@ -185,7 +185,6 @@ void dcd_init(uint8_t rhport)
// USB IRQ priority should be set by application previously
NVIC_ClearPendingIRQ(USB_IRQn);
NVIC_EnableIRQ(USB_IRQn);
}
void dcd_int_enable(uint8_t rhport)
@@ -215,6 +214,11 @@ void dcd_set_config(uint8_t rhport, uint8_t config_num)
sie_write(SIE_CMDCODE_CONFIGURE_DEVICE, 1, 1);
}
void dcd_remote_wakeup(uint8_t rhport)
{
(void) rhport;
}
//--------------------------------------------------------------------+
// CONTROL HELPER
//--------------------------------------------------------------------+