summaryrefslogtreecommitdiff
path: root/src/portable
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-08-30 15:20:15 +0700
committerhathach <[email protected]>2018-08-30 15:20:15 +0700
commit61e4a8c3d34994f47ae7380217af4dbefef4aab9 (patch)
treeb21ebaf6bffc46f29fe4791286cdb138c1e16797 /src/portable
parent583326e535454f16b06ebdb9cc06869602a5564c (diff)
remove CFG_TUD_CDC_FLUSH_ON_SOF option
Diffstat (limited to 'src/portable')
-rw-r--r--src/portable/nordic/nrf5x/hal_nrf5x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/portable/nordic/nrf5x/hal_nrf5x.c b/src/portable/nordic/nrf5x/hal_nrf5x.c
index 7ace69ef6..fe33825e9 100644
--- a/src/portable/nordic/nrf5x/hal_nrf5x.c
+++ b/src/portable/nordic/nrf5x/hal_nrf5x.c
@@ -261,10 +261,6 @@ void tusb_hal_nrf_power_event (uint32_t event)
NRF_USBD->INTENSET = USBD_INTEN_USBRESET_Msk | USBD_INTEN_USBEVENT_Msk | USBD_INTEN_EPDATA_Msk |
USBD_INTEN_EP0SETUP_Msk | USBD_INTEN_EP0DATADONE_Msk | USBD_INTEN_ENDEPIN0_Msk | USBD_INTEN_ENDEPOUT0_Msk;
-#if CFG_TUD_CDC && CFG_TUD_CDC_FLUSH_ON_SOF
- NRF_USBD->INTENSET |= USBD_INTEN_SOF_Msk;
-#endif
-
// Enable interrupt, Priorities 0,1,4,5 (nRF52) are reserved for SoftDevice
NVIC_SetPriority(USBD_IRQn, USB_NVIC_PRIO);
NVIC_ClearPendingIRQ(USBD_IRQn);