Skip to content

Commit 1ecc92f

Browse files
committed
TEMP only enabled for nRF52840
1 parent 9f40270 commit 1ecc92f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cores/nRF5/nordic/nrfx_config.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@
3535
#endif
3636

3737
// NRFX temp
38-
#define NRFX_TEMP_ENABLED 1
39-
#define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
40-
38+
#ifdef NRF52840_XXAA
39+
#define NRFX_TEMP_ENABLED 1
40+
#define NRFX_TEMP_DEFAULT_CONFIG_IRQ_PRIORITY 7
41+
#endif
4142

4243
#endif // NRFX_CONFIG_H__

0 commit comments

Comments
 (0)