Bool symbols implicitly default to 'n'. A 'default n' can make sense e.g. in a Kconfig.defconfig file, if you want to override a 'default y' on the base definition of the symbol. It isn't used like that on any of these symbols though. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
31 lines
523 B
Plaintext
31 lines
523 B
Plaintext
#
|
|
# Copyright (c) 2016 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menuconfig TH02
|
|
bool
|
|
prompt "TH02 Temperature Sensor"
|
|
depends on I2C
|
|
help
|
|
Enable driver for the TH02 temperature sensor.
|
|
|
|
if TH02
|
|
config TH02_NAME
|
|
string
|
|
prompt "Driver name"
|
|
default "TH02"
|
|
help
|
|
Device name with which the TH02 sensor is identified.
|
|
|
|
config TH02_I2C_MASTER_DEV_NAME
|
|
string
|
|
prompt "I2C Master"
|
|
default "I2C_0"
|
|
help
|
|
The device name of the I2C master device to which the TH02
|
|
chip is connected.
|
|
|
|
endif
|