From 8f36f4ad3906c986790d3bd81553ac3c82643858 Mon Sep 17 00:00:00 2001 From: "yu.dongliang" <18588496441@163.com> Date: Tue, 7 Nov 2023 15:16:49 +0800 Subject: [PATCH] _output_handler() --- ses_step_output.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ses_step_output.c b/ses_step_output.c index 614a69e..5bd543d 100644 --- a/ses_step_output.c +++ b/ses_step_output.c @@ -176,7 +176,10 @@ static int _output_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx_t else return -EINVAL; - scf_logw("IN el: %ld, V: %lg\n", el->id, el->v); + if (SCF_EDA_PIN_OUT & el->flags) + scf_logw("out el: %ld, V: %lg\n", el->id, el->v); + else if (SCF_EDA_PIN_CF & el->flags) + scf_logw("cf el: %ld, V: %lg\n", el->id, el->v); } } -- 2.25.1