Commit 74378610 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

softpll: use TRACE_DEV instead of TRACE to compile for both wrs and wrpc

parent e52af7f5
......@@ -125,7 +125,7 @@ Channels (spll_n_chan_ref ... spll_n_chan_out + spll_n_chan_ref-1) are the outpu
void spll_enable_tagger(int channel, int enable)
{
TRACE("EnableTagger %d %d\n", channel, enable);
TRACE_DEV("EnableTagger %d %d\n", channel, enable);
if (channel >= spll_n_chan_ref) { /* Output channel? */
if (enable)
SPLL->OCER |= 1 << (channel - spll_n_chan_ref);
......@@ -138,7 +138,7 @@ void spll_enable_tagger(int channel, int enable)
SPLL->RCER &= ~(1 << channel);
}
TRACE("%s: ch %d, OCER 0x%x, RCER 0x%x\n", __FUNCTION__, channel, SPLL->OCER, SPLL->RCER);
TRACE_DEV("%s: ch %d, OCER 0x%x, RCER 0x%x\n", __FUNCTION__, channel, SPLL->OCER, SPLL->RCER);
}
void biquad_init(spll_biquad_t *bq, const int *coefs, int shift)
......
......@@ -47,7 +47,7 @@ void mpll_init(struct spll_main_state *s, int id_ref,
s->id_out = id_out;
s->dac_index = id_out - spll_n_chan_ref;
TRACE("ref %d out %d idx %x", s->id_ref, s->id_out, s->dac_index);
TRACE_DEV("ref %d out %d idx %x", s->id_ref, s->id_out, s->dac_index);
pi_init((spll_pi_t *)&s->pi);
ld_init((spll_lock_det_t *)&s->ld);
......@@ -55,7 +55,7 @@ void mpll_init(struct spll_main_state *s, int id_ref,
void mpll_start(struct spll_main_state *s)
{
TRACE("MPLL_Start [dac %d]\n", s->dac_index);
TRACE_DEV("MPLL_Start [dac %d]\n", s->dac_index);
s->adder_ref = s->adder_out = 0;
s->tag_ref = -1;
......
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