From e4d92a3aad4833bd027d809bb2b99d36e1d6bc97 Mon Sep 17 00:00:00 2001 From: Tavish Naruka Date: Mon, 22 Jul 2019 20:07:05 +0530 Subject: Fix incorrect preprocessor define NRFX_TIMER3/4 Should be NRF_TIMER3 and NRF_TIMER4 --- ports/nrf/nrfx_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/nrf/nrfx_config.h b/ports/nrf/nrfx_config.h index d51739fac..a2b48065d 100644 --- a/ports/nrf/nrfx_config.h +++ b/ports/nrf/nrfx_config.h @@ -81,13 +81,13 @@ #define NRFX_TIMER1_ENABLED 1 #define NRFX_TIMER2_ENABLED 1 -#ifdef NRFX_TIMER3 +#ifdef NRF_TIMER3 #define NRFX_TIMER3_ENABLED 1 #else #define NRFX_TIMER3_ENABLED 0 #endif -#ifdef NRFX_TIMER4 +#ifdef NRF_TIMER4 #define NRFX_TIMER4_ENABLED 1 #else #define NRFX_TIMER4_ENABLED 0 -- cgit v1.2.3