diff options
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openocd.c b/src/openocd.c index 2362e60f..92305fb7 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) return EXIT_FAILURE; DEBUG("target init complete"); - if (flash_init(cmd_ctx) != ERROR_OK) + if (flash_init_drivers(cmd_ctx) != ERROR_OK) return EXIT_FAILURE; DEBUG("flash init complete"); |