[Cryptech-Commits] [sw/stm32] 01/02: cli_command_root_node: bugfix missing command callback
git at cryptech.is
git at cryptech.is
Fri May 27 13:57:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
fredrik at thulin.net pushed a commit to branch ft-dfu-code-loading
in repository sw/stm32.
commit 24ce7281fcf08cd471f2948af7658dd57a53ee63
Author: Fredrik Thulin <fredrik at thulin.net>
AuthorDate: Fri May 27 14:31:53 2016 +0200
cli_command_root_node: bugfix missing command callback
---
projects/cli-test/mgmt-cli.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/cli-test/mgmt-cli.h b/projects/cli-test/mgmt-cli.h
index cf8444f..dd6a58b 100644
--- a/projects/cli-test/mgmt-cli.h
+++ b/projects/cli-test/mgmt-cli.h
@@ -64,7 +64,7 @@
/* ROOT NODE is a label without a parent, but with a command associated with it */
#define cli_command_root_node(name, help) \
- _cli_cmd_struct(name, name, NULL, (char *) help); \
+ _cli_cmd_struct(name, name, cmd_##name, (char *) help); \
cli_register_command2(cli, &cmd_##name##_s, NULL)
More information about the Commits
mailing list