X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fflash%2Fstm32x.c;h=7ac06a68f9f7b379dd029a3a667b0770b20802a1;hb=ef746e27c55c14b7a4f6381c490e5c175e409c0b;hp=abbf6cb61b9e1f44566ddd93e635011339306003;hpb=98723c4ecdbe06f90c66f3abec27b792c3b38e34;p=openocd.git diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index abbf6cb61b..7ac06a68f9 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -1183,7 +1183,7 @@ COMMAND_HANDLER(stm32x_handle_mass_erase_command) static int stm32x_register_commands(struct command_context *cmd_ctx) { - command_t *stm32x_cmd = register_command(cmd_ctx, NULL, "stm32x", + struct command *stm32x_cmd = register_command(cmd_ctx, NULL, "stm32x", NULL, COMMAND_ANY, "stm32x flash specific commands"); register_command(cmd_ctx, stm32x_cmd, "lock",