From 4754f339a0f54df0ba3a6b52759a3b80aac3a93e Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Wed, 2 Mar 2022 14:03:40 +0100 Subject: [PATCH] drivers/grove_ledbar: Update kconfig model --- drivers/grove_ledbar/Kconfig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/grove_ledbar/Kconfig b/drivers/grove_ledbar/Kconfig index b64facab67..165b8c0e38 100644 --- a/drivers/grove_ledbar/Kconfig +++ b/drivers/grove_ledbar/Kconfig @@ -7,5 +7,13 @@ config MODULE_GROVE_LEDBAR bool "Grove ledbar" - depends on MODULE_MY9221 + depends on HAS_PERIPH_GPIO depends on TEST_KCONFIG + select MODULE_PERIPH_GPIO + select MODULE_MY9221 + +config HAVE_GROVE_LEDBAR + bool + select MODULE_GROVE_LEDBAR if MODULE_SAUL_DEFAULT + help + Indicates that a Grove ledbar is present.