Clean up space errors and use a consistent style throughout the Kconfig files. This makes reading the Kconfig files more distraction-free, helps with grepping, and encourages the same style getting copied around everywhere (meaning another pass hopefully won't be needed). Go for the most common style: - Indent properties with a single tab, including for choices. Properties on choices work exactly the same syntactically as properties on symbols, so not sure how the no-indentation thing happened. - Indent help texts with a tab followed by two spaces - Put a space between 'config' and the symbol name, not a tab. This also helps when grepping for definitions. - Do '# A comment' instead of '#A comment' I tweaked Kconfiglib a bit to find most of the stuff. Some help texts were reflowed to 79 columns with 'gq' in Vim as well, though not all, because I was afraid I'd accidentally mess up formatting. Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
35 lines
807 B
Text
35 lines
807 B
Text
# Kconfig - 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
|