diff options
Diffstat (limited to 'projects/hsm/mgmt-bootloader.c')
-rw-r--r-- | projects/hsm/mgmt-bootloader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/hsm/mgmt-bootloader.c b/projects/hsm/mgmt-bootloader.c index 738686e..ce24560 100644 --- a/projects/hsm/mgmt-bootloader.c +++ b/projects/hsm/mgmt-bootloader.c @@ -60,6 +60,10 @@ static int _flash_write_callback(uint8_t *buf, size_t len) static int cmd_bootloader_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; |