diff options
| author | hathach <[email protected]> | 2018-04-16 18:42:29 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-16 18:42:29 +0700 |
| commit | 8c79073fa63bf659ac2fcb6a3fc114815169d398 (patch) | |
| tree | fea3c4e968ba1bb203966fb4a592a5108fb26236 | |
| parent | 1954a735369b30e5517f07a7428ae6f8afe5545f (diff) | |
nrf5x clean up
| -rw-r--r-- | tinyusb/portable/nordic/nrf5x/dcd_nrf5x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tinyusb/portable/nordic/nrf5x/dcd_nrf5x.c b/tinyusb/portable/nordic/nrf5x/dcd_nrf5x.c index 07252b0d7..1508b0db9 100644 --- a/tinyusb/portable/nordic/nrf5x/dcd_nrf5x.c +++ b/tinyusb/portable/nordic/nrf5x/dcd_nrf5x.c @@ -353,6 +353,7 @@ bool dcd_edpt_busy (uint8_t rhport, uint8_t ep_addr) /* *------------------------------------------------------------------*/ +#if ERRATA_104_FIX static uint16_t frame_sofar(uint16_t fr) { uint16_t diff = (uint16_t) NRF_USBD->FRAMECNTR; @@ -367,6 +368,7 @@ static uint16_t frame_sofar(uint16_t fr) return diff; } +#endif void USBD_IRQHandler(void) { |
