bluetooth: controller: nrf5: fix to IC-specific reset function

Fix of 80210198ad so it does
not cause a segfault in simulated boards

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
Alberto Escolar Piedras 2018-02-24 14:17:15 +01:00 committed by Carles Cufí
parent 2c76978ee4
commit 4484e9efbd

View File

@ -205,9 +205,11 @@
static inline void hal_radio_reset(void)
{
#if !defined(CONFIG_BOARD_NRFXX_NWTSIM)
/* Anomalies 102, 106 and 107 */
*(volatile u32_t *)0x40001774 = ((*(volatile u32_t *)0x40001774) &
0xfffffffe) | 0x01000000;
#endif /* !CONFIG_BOARD_NRFXX_NWTSIM */
}
static inline void hal_radio_ram_prio_setup(void)