soc: nordic_nrf: MPU temperature sensor default

Consistency: nrf51 & 52 SOC set temp sensor as default if SENSOR=y

Signed-off-by: William Fish <william.fish@manulytica.com>
This commit is contained in:
William Fish 2019-04-01 15:03:09 +01:00 committed by Anas Nashif
commit cc15b9ced3
2 changed files with 4 additions and 5 deletions

View file

@ -24,11 +24,7 @@ config NUM_IRQS
int
default 26
if SENSOR
config TEMP_NRF5
default y
endif # SENSOR
default SENSOR
endif # SOC_SERIES_NRF51X

View file

@ -19,4 +19,7 @@ config SYS_CLOCK_HW_CYCLES_PER_SEC
config SYS_POWER_MANAGEMENT
default y
config TEMP_NRF5
default SENSOR
endif # SOC_SERIES_NRF52X