clean up, update nrfx to 1.3.0

This commit is contained in:
hathach
2018-09-25 12:57:46 +07:00
parent 3b79ba8451
commit a660fb0cfc
7 changed files with 35 additions and 15 deletions

View File

@@ -255,7 +255,7 @@ void tusb_hal_nrf_power_event (uint32_t event)
__DSB();
}
nrf_usbd_isosplit_set(NRF_USBD_ISOSPLIT_Half);
nrf_usbd_isosplit_set(USBD_ISOSPLIT_SPLIT_HalfIN);
// Enable interrupt. SOF is used as CDC auto flush
NRF_USBD->INTENSET = USBD_INTEN_USBRESET_Msk | USBD_INTEN_USBEVENT_Msk | USBD_INTEN_EPDATA_Msk |