Commit 486db5e1 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

softpll: don't overwrite 1-PPS out pulse width when changing modes

This is needed for PPSGen handling cleanup. Now PPSGen is controlled by PPSi.
parent 7581ddfb
......@@ -318,7 +318,7 @@ void spll_init(int mode, int slave_ref_channel, int align_pps)
SPLL->DEGLITCH_THR = 1000;
PPSG->ESCR = 0;
PPSG->CR = PPSG_CR_CNT_EN | PPSG_CR_PWIDTH_W(PPS_WIDTH);
PPSG->CR |= PPSG_CR_CNT_EN;
if(mode == SPLL_MODE_DISABLED)
s->seq_state = SEQ_DISABLED;
......
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