From 1ecc92f012702533527260162cf8ece55a1cce0c Mon Sep 17 00:00:00 2001 From: neotje Date: Sat, 22 Oct 2022 23:19:00 +0200 Subject: [PATCH] TEMP only enabled for nRF52840 --- cores/nRF5/nordic/nrfx_config.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cores/nRF5/nordic/nrfx_config.h b/cores/nRF5/nordic/nrfx_config.h index da4a3701..9ffbe52b 100644 --- a/cores/nRF5/nordic/nrfx_config.h +++ b/cores/nRF5/nordic/nrfx_config.h @@ -35,8 +35,9 @@ #endif // NRFX temp -#define NRFX_TEMP_ENABLED 1 -#define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 - +#ifdef NRF52840_XXAA + #define NRFX_TEMP_ENABLED 1 + #define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 7 +#endif #endif // NRFX_CONFIG_H__