Skip to content
Snippets Groups Projects
Commit e8f8d2c8 authored by Terry Wilson's avatar Terry Wilson
Browse files

Make chan_usbradio compile under dev mode

x=++x and x=x=1? Really?
........

Merged revisions 357986 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 357987 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 8d1bde49
No related branches found
No related tags found
No related merge requests found
......@@ -1555,7 +1555,7 @@ i16 ctcss_detect(t_pmr_chan *pChan)
}
#endif
indexWas=indexNow;
ptdet->zIndex=(++ptdet->zIndex)%4;
ptdet->zIndex=(ptdet->zIndex + 1) % 4;
}
ptdet->counter-=(points2do*CTCSS_SCOUNT_MUL);
......@@ -2019,7 +2019,7 @@ t_pmr_chan *createPmrChannel(t_pmr_chan *tChan, i16 numSamples)
pSps->sigProc=pmr_rx_frontend;
pSps->enabled=1;
pSps->decimator=pSps->decimate=6;
pSps->interpolate=pSps->interpolate=1;
pSps->interpolate=1;
pSps->nSamples=pChan->nSamplesRx;
pSps->ncoef=taps_fir_bpf_noise_1;
pSps->size_coef=2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment