From: yu.dongliang <18588496441@163.com> Date: Mon, 23 Oct 2023 14:30:12 +0000 (+0800) Subject: _va_diode_handler() X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=ede1ae41a804affe878d115fb2cdd5a650ab52a2;p=ses.git _va_diode_handler() --- diff --git a/ses_step_va_diode.c b/ses_step_va_diode.c index 2546702..1c51569 100644 --- a/ses_step_va_diode.c +++ b/ses_step_va_diode.c @@ -452,7 +452,7 @@ static int _va_diode_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx for (i = 0; i < ctx->paths->size; i++) { path = ctx->paths->data[i]; - scf_logi("i: %ld, path->type: %d\n", i, path->type); + scf_logi("i: %ld, path->index: %d\n", i, path->index); int ret = ses_path_va_diode(f, path); if (ret < 0) diff --git a/ses_steps.c b/ses_steps.c index 1894f40..897dbc4 100644 --- a/ses_steps.c +++ b/ses_steps.c @@ -140,7 +140,7 @@ int ses_steps_analyse(ScfEfunction* f, int64_t ns, int64_t count) return ret; int j; - for (j = 0; ; j++) { + for (j = 0; j < 1; j++) { ret = __ses_steps_analyse(f, ns, i, ctx); if (-EAGAIN == ret)