summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Halbert <halbert@adafruit.com>2019-07-22 22:24:03 -0400
committerGitHub <noreply@github.com>2019-07-22 22:24:03 -0400
commit3e04744f751d35c0991cf76c6f0411039d161036 (patch)
treea1422963fa323456881778729abee1c923865cb0
parenta98bfa628e9f4469bbad5bafb042d7a2c3c15346 (diff)
parente4d92a3aad4833bd027d809bb2b99d36e1d6bc97 (diff)
Merge pull request #2006 from ntavish/patch-1
Fix incorrect preprocessor define NRFX_TIMER3/4
-rw-r--r--ports/nrf/nrfx_config.h4
1 files 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