added Suspend and Resume event for nrf5x port

also rename DCD_EVENT_SUSPENDED to DCD_EVENT_SUSPEND
This commit is contained in:
hathach
2019-03-29 01:34:53 +07:00
parent 8fb9fbb0b1
commit 0bdd4bd550
8 changed files with 44 additions and 15 deletions
+1 -1
View File
@@ -481,7 +481,7 @@ static void bus_event_isr(uint8_t rhport)
{
if (dev_status & SIE_DEV_STATUS_SUSPEND_MASK)
{
dcd_event_bus_signal(rhport, DCD_EVENT_SUSPENDED, true);
dcd_event_bus_signal(rhport, DCD_EVENT_SUSPEND, true);
}
else
{