1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ds18: Update kconfig model

This commit is contained in:
MrKevinWeiss 2022-03-02 14:03:37 +01:00
parent 690b1c8725
commit d2c3252074
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -6,7 +6,9 @@
#
menuconfig MODULE_DS18
bool "DS18 temperature sensors"
bool
prompt "DS18 temperature sensors" if !(MODULE_SAUL_DEFAULT && HAVE_DS18)
default (MODULE_SAUL_DEFAULT && HAVE_DS18)
depends on HAS_PERIPH_GPIO
depends on TEST_KCONFIG
select MODULE_PERIPH_GPIO
@ -18,3 +20,8 @@ config MODULE_DS18_OPTIMIZED
help
Say y to use the optimized mode if the board can handle ~3us resolution
with the xtimer.
config HAVE_DS18
bool
help
Indicates that a DS18 temperature sensor is present.