summaryrefslogtreecommitdiff
path: root/src/portable/nordic
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-01-08 22:34:36 +0700
committerhathach <[email protected]>2021-01-08 22:34:36 +0700
commit6e6e6265e4feb797ddbd835dc1bee865d04219e6 (patch)
treeb2d1009368cfc9c2a0a0999b869fa22cf51eba95 /src/portable/nordic
parentfb896be201602ce38105a934d3a59886b46d1268 (diff)
use dcd_event_bus_reset() with speed to replace bus_signal
Diffstat (limited to 'src/portable/nordic')
-rw-r--r--src/portable/nordic/nrf5x/dcd_nrf5x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/nordic/nrf5x/dcd_nrf5x.c b/src/portable/nordic/nrf5x/dcd_nrf5x.c
index b85d3776f..d9fe2b6ae 100644
--- a/src/portable/nordic/nrf5x/dcd_nrf5x.c
+++ b/src/portable/nordic/nrf5x/dcd_nrf5x.c
@@ -533,7 +533,7 @@ void dcd_int_handler(uint8_t rhport)
if ( int_status & USBD_INTEN_USBRESET_Msk )
{
bus_reset();
- dcd_event_bus_signal(0, DCD_EVENT_BUS_RESET, true);
+ dcd_event_bus_reset(0, TUSB_SPEED_FULL, true);
}
// ISOIN: Data was moved to endpoint buffer, client will be notified in SOF