aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-firmware.c
diff options
context:
space:
mode:
Diffstat (limited to 'projects/hsm/mgmt-firmware.c')
-rw-r--r--projects/hsm/mgmt-firmware.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hsm/mgmt-firmware.c b/projects/hsm/mgmt-firmware.c
index ec8a69d..85eb78b 100644
--- a/projects/hsm/mgmt-firmware.c
+++ b/projects/hsm/mgmt-firmware.c
@@ -49,6 +49,10 @@ extern hal_user_t user;
static int cmd_firmware_upload(struct cli_def *cli, const char *command, char *argv[], int argc)
{
+ command = command;
+ argv = argv;
+ argc = argc;
+
if (user < HAL_USER_SO) {
cli_print(cli, "Permission denied.");
return CLI_ERROR;