Skip to content
Snippets Groups Projects

add board pll kp, ki debug info

Merged Peter Jansweijer requested to merge peter_add_board_pll_debug_info into wrpc-v5
Compare and
2 files
+ 4
1
Preferences
File browser
Compare changes
+ 2
0
@@ -9,6 +9,7 @@
/* spll_helper.c - implmentation of the Helper PLL servo algorithm. */
#include <wrc.h>
#include "softpll_ng.h"
void helper_init(struct spll_helper_state *s, int ref_channel)
@@ -105,6 +106,7 @@ void helper_start(struct spll_helper_state *s)
s->sample_n = 0;
s->tag_d0 = -1;
board_dbg("Helper PLL PI Values: Kp %i\t Ki %i\n",s->pi.kp,s->pi.ki);
pi_init((spll_pi_t *)&s->pi);
ld_init((spll_lock_det_t *)&s->ld);