Skip to content

Commit

Permalink
boards: arm: twr_ke18f: default enable for temp driver depends on adc
Browse files Browse the repository at this point in the history
Only enable the NXP Kinetis temperature driver by default if ADC_0 is
enabled.

Signed-off-by: Henrik Brix Andersen <[email protected]>
  • Loading branch information
henrikbrixandersen authored and MaureenHelm committed Mar 24, 2020
1 parent 6fd5dd8 commit 576a076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/arm/twr_ke18f/Kconfig.defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 576a076

Please sign in to comment.