From 576a07654e68f5069b1dd5babefa28c782fce007 Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Mon, 23 Mar 2020 21:45:51 +0100 Subject: [PATCH] boards: arm: twr_ke18f: default enable for temp driver depends on adc Only enable the NXP Kinetis temperature driver by default if ADC_0 is enabled. Signed-off-by: Henrik Brix Andersen --- boards/arm/twr_ke18f/Kconfig.defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/arm/twr_ke18f/Kconfig.defconfig b/boards/arm/twr_ke18f/Kconfig.defconfig index 3c1282bf914830..a3e4d0be01c054 100644 --- a/boards/arm/twr_ke18f/Kconfig.defconfig +++ b/boards/arm/twr_ke18f/Kconfig.defconfig @@ -79,7 +79,7 @@ config ADC_0 depends on ADC config TEMP_KINETIS - default y + default y if ADC_0 depends on SENSOR if PWM