diff options
-rw-r--r-- | src/ecosboard.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ecosboard.c b/src/ecosboard.c index 27894644..5588934a 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -1098,13 +1098,7 @@ int main(int argc, char *argv[]) Jim_CreateCommand(interp, "uart", zylinjtag_Jim_Command_uart, NULL, NULL); - int errVal; - errVal = log_init(cmd_ctx); - if (errVal != ERROR_OK) - { - diag_printf("log_init() failed %d\n", errVal); - exit(-1); - } + log_init(); set_log_output(cmd_ctx, log); |