zy1000: keep up with startup refactoring work.
keep up with server_init() introduction. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
This commit is contained in:
parent
f4b52e1ceb
commit
d84fead487
|
@ -1113,6 +1113,11 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
command_run_linef(cmd_ctx, "script /rom/openocd.cfg");
|
command_run_linef(cmd_ctx, "script /rom/openocd.cfg");
|
||||||
|
|
||||||
|
int ret;
|
||||||
|
ret = server_init(cmd_ctx);
|
||||||
|
if (ERROR_OK != ret)
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
|
||||||
/* we MUST always run the init command as it will launch telnet sessions */
|
/* we MUST always run the init command as it will launch telnet sessions */
|
||||||
command_run_line(cmd_ctx, "init");
|
command_run_line(cmd_ctx, "init");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue