summaryrefslogtreecommitdiff
path: root/common/host_command.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/host_command.c')
-rw-r--r--common/host_command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/host_command.c b/common/host_command.c
index 97b8cc59cc..5256861ed6 100644
--- a/common/host_command.c
+++ b/common/host_command.c
@@ -868,6 +868,7 @@ DECLARE_CONSOLE_COMMAND(hostcmd, command_host_command,
NULL);
#endif /* CONFIG_CMD_HOSTCMD */
+#ifdef CONFIG_CMD_HCDEBUG
static int command_hcdebug(int argc, char **argv)
{
if (argc > 1) {
@@ -892,3 +893,4 @@ DECLARE_CONSOLE_COMMAND(hcdebug, command_hcdebug,
"hcdebug [off | normal | every | params]",
"Set host command debug output mode",
NULL);
+#endif /* CONFIG_CMD_HCDEBUG */