Skip to content

Commit e6cfbda

Browse files
committed
latmon: guard kconfigs to avoid leaks
Guard all kconfig options to avoid kconfig leakage when latmon is not enabled. Signed-off-by: Anas Nashif <[email protected]>
1 parent 6559af8 commit e6cfbda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

subsys/net/lib/latmon/Kconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ config NET_LATMON
99
help
1010
This option enables the latency monitoring support for Zephyr
1111

12+
if NET_LATMON
1213
config NET_LATMON_PORT
1314
int "Latmon - Latmus communication port"
1415
default 2306
@@ -56,3 +57,5 @@ module-dep = NET_LOG
5657
module-str = Latency monitoring Service
5758
module-help = This option enables the latency monitoring support for Zephyr
5859
source "subsys/net/Kconfig.template.log_config.net"
60+
61+
endif

0 commit comments

Comments
 (0)