From dd2d6b174e02306b5cbedc9fdaf04745f3d255b4 Mon Sep 17 00:00:00 2001 From: PeterKietzmann Date: Fri, 1 May 2020 17:04:36 +0200 Subject: [PATCH] cpu/nrf5x_common: enable bias correction in hwrng --- cpu/nrf5x_common/periph/hwrng.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpu/nrf5x_common/periph/hwrng.c b/cpu/nrf5x_common/periph/hwrng.c index 5510c080be..2a9b9a202b 100644 --- a/cpu/nrf5x_common/periph/hwrng.c +++ b/cpu/nrf5x_common/periph/hwrng.c @@ -30,7 +30,8 @@ void hwrng_init(void) { - /* nothing to do here */ + /* enable bias correction */ + NRF_RNG->CONFIG = 1; } /*