aboutsummaryrefslogtreecommitdiff
path: root/src/flash/stellaris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/stellaris.c')
-rw-r--r--src/flash/stellaris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c
index 7b946754..bbe4aef9 100644
--- a/src/flash/stellaris.c
+++ b/src/flash/stellaris.c
@@ -1139,7 +1139,7 @@ COMMAND_HANDLER(stellaris_handle_mass_erase_command)
}
struct flash_bank *bank;
- int retval = flash_command_get_bank_by_num(cmd_ctx, args[0], &bank);
+ int retval = CALL_COMMAND_HANDLER(flash_command_get_bank_by_num, 0, &bank);
if (ERROR_OK != retval)
return retval;