From ede1ae41a804affe878d115fb2cdd5a650ab52a2 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Mon, 23 Oct 2023 22:30:12 +0800 Subject: [PATCH] _va_diode_handler() --- ses_step_va_diode.c | 2 +- ses_steps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.25.1