Skip to content

Commit

Permalink
Fixed 12.5KHz NXDN poor performance due to the 6.25KHz filter being u…
Browse files Browse the repository at this point in the history
…sed.
  • Loading branch information
LinuxSheeple-E committed Sep 10, 2014
1 parent ea6272d commit 0b07b78
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion dsd_symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,16 @@ getSymbol (dsd_opts * opts, dsd_state * state, int have_sync)
sample = dmr_filter(sample);
else if (state->lastsynctype == 8 || state->lastsynctype == 9 ||
state->lastsynctype == 16 || state->lastsynctype == 17)
sample = nxdn_filter(sample);
{
if(state->samplesPerSymbol == 20)
{
sample = nxdn_filter(sample);
}
else // the 12.5KHz NXDN filter is the same as the DMR filter
{
sample = dmr_filter(sample);
}
}
}

if ((sample > state->max) && (have_sync == 1) && (state->rf_mod == 0))
Expand Down

0 comments on commit 0b07b78

Please sign in to comment.