Browse Source

zy1000: keep up with changes to log_init()

fn's and return value for log_init() changed to void.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
tags/v0.4.0-rc1
Øyvind Harboe 14 years ago
parent
commit
46ed068bac
1 changed files with 1 additions and 7 deletions
  1. +1
    -7
      src/ecosboard.c

+ 1
- 7
src/ecosboard.c View File

@@ -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);



Loading…
Cancel
Save