test ses_path_va() ok
authoryu.dongliang <18588496441@163.com>
Mon, 11 Sep 2023 05:55:31 +0000 (13:55 +0800)
committeryu.dongliang <18588496441@163.com>
Mon, 11 Sep 2023 05:55:35 +0000 (13:55 +0800)
ses_step_dc_input.c

index bef68ea1af13a7018721de7fcd8d978290fb0dd2..212beb355abac2816a63997b05603f449252f333 100644 (file)
@@ -17,7 +17,7 @@ static int _dc_input_handler(ScfEfunction* f, int64_t ns, int64_t count, ses_ctx
 
                if (SCF_EDA_PIN_IN & el->flags) {
 
-                       el->v = (i & 0x1) * B->v;
+                       el->v = (0x1) * B->v;
                        el->vconst = 1;
 
                        scf_logw("IN el: %ld, V: %lg\n", el->id, el->v);