summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2018-06-13 14:25:33 +0700
committerhathach <[email protected]>2018-06-13 14:25:33 +0700
commitd1ecef4fc37718ef76944cbdfe54924c42ff22e7 (patch)
tree586f6e2a41268a5f3d4d5e805011ffd2be4182cf /hw
parentd6cb34ff22cd8b50d23f3c9730aa15d080c1e19d (diff)
correct errata check for nrf52840 first production
Diffstat (limited to 'hw')
-rw-r--r--hw/mcu/nordic/nrf52/sdk/drivers_nrf/usbd/nrf_drv_usbd_errata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcu/nordic/nrf52/sdk/drivers_nrf/usbd/nrf_drv_usbd_errata.h b/hw/mcu/nordic/nrf52/sdk/drivers_nrf/usbd/nrf_drv_usbd_errata.h
index ad24f3c8f..f8c554f08 100644
--- a/hw/mcu/nordic/nrf52/sdk/drivers_nrf/usbd/nrf_drv_usbd_errata.h
+++ b/hw/mcu/nordic/nrf52/sdk/drivers_nrf/usbd/nrf_drv_usbd_errata.h
@@ -94,7 +94,7 @@ static inline bool nrf_drv_usbd_errata_type_52840_proto1(void)
static inline bool nrf_drv_usbd_errata_type_52840_fp1(void)
{
return ( nrf_drv_usbd_errata_type_52840() &&
- ( ((*(uint32_t *)0xF0000FE8) & 0xF0) == 0x10 ) &&
+ ( ((*(uint32_t *)0xF0000FE8) & 0xF0) == 0x20 ) &&
( ((*(uint32_t *)0xF0000FEC) & 0xF0) == 0x00 ) );
}