style
This commit is contained in:
1 parent
e303293477
commit
a236604716
2 files changed
+4
-4
No files matched your search
@@ -513,7 +513,7 @@ static int CmdSmartUpgrade(const char *Cmd) {
|
||||
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||
int fnlen = 0;
|
||||
char filename[FILE_PATH_SIZE] = {0};
|
||||
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)filename, sizeof(filename), &fnlen);
|
||||
CLIParamStrToBuf(arg_get_str(ctx, 1), (uint8_t *)filename, FILE_PATH_SIZE, &fnlen);
|
||||
CLIParserFree(ctx);
|
||||
|
||||
char *bin_extension = filename;
|
||||
|
||||
Reference in new issue
Block a user