mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user