From 13eab0aeab87258925da33f6e8bcca597d08b35d Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 27 Jul 2020 15:26:55 -0700 Subject: [PATCH] Also check for `NRF52_SERIES`, since `NRF52` is only for `NRF52832_XXAA`. --- wolfcrypt/src/port/nrf51.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wolfcrypt/src/port/nrf51.c b/wolfcrypt/src/port/nrf51.c index 112274606..042fe9da4 100644 --- a/wolfcrypt/src/port/nrf51.c +++ b/wolfcrypt/src/port/nrf51.c @@ -174,7 +174,7 @@ static void rtc_config(void) uint32_t err_code; /* Start the internal LFCLK XTAL oscillator */ -#ifdef NRF52 +#if defined(NRF52) || defined(NRF52_SERIES) err_code = nrf_drv_clock_init(); APP_ERROR_CHECK(err_code); nrf_drv_clock_lfclk_request(NULL);