projects
/
ses.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c11b9df
)
_output_handler()
author
yu.dongliang
<18588496441@163.com>
Tue, 7 Nov 2023 07:16:49 +0000
(15:16 +0800)
committer
yu.dongliang
<18588496441@163.com>
Tue, 7 Nov 2023 07:16:49 +0000
(15:16 +0800)
ses_step_output.c
patch
|
blob
|
blame
|
history
diff --git
a/ses_step_output.c
b/ses_step_output.c
index 614a69e49caeabef504630351628fc8bbf158efd..5bd543d588f2f47e9b75cb5ef0bda715ce0e5751 100644
(file)
--- 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);
}
}