summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavish Naruka <tavishnaruka@gmail.com>2019-07-22 20:07:05 +0530
committerGitHub <noreply@github.com>2019-07-22 20:07:05 +0530
commite4d92a3aad4833bd027d809bb2b99d36e1d6bc97 (patch)
treea1422963fa323456881778729abee1c923865cb0
parenta98bfa628e9f4469bbad5bafb042d7a2c3c15346 (diff)
Fix incorrect preprocessor define NRFX_TIMER3/4
Should be NRF_TIMER3 and NRF_TIMER4
-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