Commit a99b961b authored by li hongming's avatar li hongming

solve bug in softpll/spll_external.c

    the align_target of cnt_in_bin should be ALIGN_SAMPLE_PERIOD-EXT_PERIOD_NS
rather than EXT_PERIOD_NS.
parent 429c2ef5
......@@ -142,7 +142,7 @@ void external_align_fsm(volatile struct spll_external_state *s)
s->align_target = 0;
s->align_step = -100;
} else if (s > 0) {
s->align_target = EXT_PERIOD_NS;
s->align_target = ALIGN_SAMPLE_PERIOD-EXT_PERIOD_NS;
s->align_step = 100;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment