drivers: Define COUNTER_LOG_LEVEL using template
This commit updates counter Kconfig to use logger template to define COUNTER_LOG_LEVEL option. Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
This commit is contained in:
parent
dfca5ab817
commit
d41f01d4c7
1 changed files with 3 additions and 6 deletions
|
@ -13,12 +13,9 @@ menuconfig COUNTER
|
||||||
|
|
||||||
if COUNTER
|
if COUNTER
|
||||||
|
|
||||||
config COUNTER_LOG_LEVEL
|
module = COUNTER
|
||||||
int "Counter log level"
|
module-str = counter
|
||||||
default 0
|
source "subsys/logging/Kconfig.template.log_config"
|
||||||
range 0 4
|
|
||||||
help
|
|
||||||
Counter logging level.
|
|
||||||
|
|
||||||
source "drivers/counter/Kconfig.gecko"
|
source "drivers/counter/Kconfig.gecko"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue