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>
This commit is contained in:
parent
bd3ef5ca3d
commit
46ed068bac
|
@ -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…
Reference in New Issue