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__