Use this short header style in all Kconfig files:
# <description>
# <copyright>
# <license>
...
Also change all <description>s from
# Kconfig[.extension] - Foo-related options
to just
# Foo-related options
It's clear enough that it's about Kconfig.
The <description> cleanup was done with this command, along with some
manual cleanup (big letter at the start, etc.)
git ls-files '*Kconfig*' | \
xargs sed -i -E '1 s/#\s*Kconfig[\w.-]*\s*-\s*/# /'
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
33 lines
791 B
Plaintext
33 lines
791 B
Plaintext
# ENS210 Digital Temperature and Humidity sensor configuration options
|
|
|
|
# Copyright (c) 2018 Alexander Wachter.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
menuconfig ENS210
|
|
bool "ENS210 Digital Temperature and Humidity sensor"
|
|
depends on I2C && HAS_DTS_I2C
|
|
help
|
|
Enable driver for ENS210 Digital Temperature and Humidity sensor.
|
|
if ENS210
|
|
|
|
config ENS210_CRC_CHECK
|
|
bool "Enable CRC Check"
|
|
default y
|
|
help
|
|
Check the crc value after data reading.
|
|
|
|
config ENS210_MAX_STAT_RETRIES
|
|
int "Number of status read retries"
|
|
default 4
|
|
help
|
|
Number of retries when status reading failed or device not ready.
|
|
|
|
config ENS210_MAX_READ_RETRIES
|
|
int "Number of value reading retries"
|
|
default 4
|
|
help
|
|
Number of retries when value reading failed, value not valid
|
|
or crc not ok.
|
|
|
|
endif # ENS210
|