diff options
| author | hathach <[email protected]> | 2018-06-13 14:25:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-06-13 14:25:33 +0700 |
| commit | d1ecef4fc37718ef76944cbdfe54924c42ff22e7 (patch) | |
| tree | 586f6e2a41268a5f3d4d5e805011ffd2be4182cf /tinyusb | |
| parent | d6cb34ff22cd8b50d23f3c9730aa15d080c1e19d (diff) | |
correct errata check for nrf52840 first production
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/portable/nordic/nrf5x/hal_nrf5x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c b/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c index d9c8eed1b..e75c86715 100644 --- a/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c +++ b/tinyusb/portable/nordic/nrf5x/hal_nrf5x.c @@ -198,7 +198,7 @@ void tusb_hal_nrf_power_event (uint32_t event) // ERRATA 171, 187, 166 // Somehow Errata 187 check failed for pca10056 1.0.0 (2018.19) - //if ( nrf_drv_usbd_errata_187() ) + if ( nrf_drv_usbd_errata_187() ) { CRITICAL_REGION_ENTER(); if ( *((volatile uint32_t *) (0x4006EC00)) == 0x00000000 ) @@ -262,7 +262,7 @@ void tusb_hal_nrf_power_event (uint32_t event) } // Somehow Errata 187 check failed for pca10056 1.0.0 (2018.19) - //if ( nrf_drv_usbd_errata_187() ) + if ( nrf_drv_usbd_errata_187() ) { CRITICAL_REGION_ENTER(); if ( *((volatile uint32_t *) (0x4006EC00)) == 0x00000000 ) |
