debug: cpu_load: Fix CPU_LOAD_USE_COUNTER config
dt_chosen_enabled argument was incorrect and it was always returning n so option could not be used. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
3d4c7736e1
commit
0b866648e1
@ -443,7 +443,7 @@ DT_CHOSEN_Z_CPU_LOAD_COUNTER := zephyr,cpu-load-counter
|
||||
|
||||
config CPU_LOAD_USE_COUNTER
|
||||
bool "Use counter"
|
||||
depends on $(dt_chosen_enabled,DT_CHOSEN_Z_CPU_LOAD_COUNTER)
|
||||
depends on $(dt_chosen_enabled,$(DT_CHOSEN_Z_CPU_LOAD_COUNTER))
|
||||
default y
|
||||
select COUNTER
|
||||
help
|
||||
|
||||
Loading…
Reference in New Issue
Block a user