Skip to content

Commit f8e7ecf

Browse files
nordic-krchgalak
authored andcommitted
shell: Add missing dependency to shell log backend
Shell log backend depends on logging being enabled. Lack of this dependency leads to compilation failure when logging is disabled. Signed-off-by: Krzysztof Chruscinski <[email protected]>
1 parent 45a6de6 commit f8e7ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/shell/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ config SHELL_CMDS_SELECT
197197

198198
config SHELL_LOG_BACKEND
199199
bool "Enable shell log backend"
200-
depends on !LOG_MINIMAL
200+
depends on LOG && !LOG_MINIMAL
201201
default y if LOG
202202
help
203203
When enabled, backend will use the shell for logging.

0 commit comments

Comments
 (0)