diff options
Diffstat (limited to 'src/flash/ecos.c')
-rw-r--r-- | src/flash/ecos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/ecos.c b/src/flash/ecos.c index e1fa2d66..2d03edb9 100644 --- a/src/flash/ecos.c +++ b/src/flash/ecos.c @@ -245,7 +245,7 @@ static int runCode(ecosflash_flash_bank_t *info, buf_set_u32(reg_params[2].value, 0, 32, r2); int retval; - if ((retval = target->type->run_algorithm(target, 0, NULL, 3, reg_params, + if ((retval = target_run_algorithm(target, 0, NULL, 3, reg_params, codeStart, codeStop, timeout, &armv4_5_info)) != ERROR_OK) |