correct errata check for nrf52840 first production

This commit is contained in:
hathach 2018-06-13 14:26:04 +07:00
parent ee281b5b2a
commit 4ad79f2e5c
2 changed files with 2 additions and 2 deletions

View File

@ -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 ) );
}

@ -1 +1 @@
Subproject commit fa2e04312615fc985de9e23c18cf52896ad191f5
Subproject commit d1ecef4fc37718ef76944cbdfe54924c42ff22e7