diff options
author | Paul Selkirk <paul@psgd.org> | 2016-07-21 16:32:43 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-07-21 16:32:43 -0400 |
commit | e3fe7d89b6094bfef42f42329e15631f684f0748 (patch) | |
tree | dbaca9b4ce50dca6950a658cef99d20d5d7922ae /projects/hsm/mgmt-misc.c | |
parent | 91cc61352451093e26605f4a9bbe83798da02fd0 (diff) |
Use a fresh port of libcli, which retains more of the original API.
Diffstat (limited to 'projects/hsm/mgmt-misc.c')
-rw-r--r-- | projects/hsm/mgmt-misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/hsm/mgmt-misc.c b/projects/hsm/mgmt-misc.c index 15b2d13..31a1c49 100644 --- a/projects/hsm/mgmt-misc.c +++ b/projects/hsm/mgmt-misc.c @@ -114,6 +114,6 @@ static int cmd_reboot(struct cli_def *cli, const char *command, char *argv[], in void configure_cli_misc(struct cli_def *cli) { /* reboot */ - cli_command_root_node(reboot, "Reboot the STM32"); + cli_register_command(cli, NULL, "reboot", cmd_reboot, 0, 0, "Reboot the STM32"); } |