From 24ce7281fcf08cd471f2948af7658dd57a53ee63 Mon Sep 17 00:00:00 2001 From: Fredrik Thulin Date: Fri, 27 May 2016 14:31:53 +0200 Subject: 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) -- cgit v1.2.3