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:
Krzysztof Chruściński 2025-03-28 09:53:08 +01:00 committed by Benjamin Cabé
parent 3d4c7736e1
commit 0b866648e1

View File

@ -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