[asterisk-commits] twilson: branch 1.8 r357986 - /branches/1.8/channels/xpmr/xpmr.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 2 15:57:45 CST 2012
Author: twilson
Date: Fri Mar 2 15:57:41 2012
New Revision: 357986
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357986
Log:
Make chan_usbradio compile under dev mode
x=++x and x=x=1? Really?
Modified:
branches/1.8/channels/xpmr/xpmr.c
Modified: branches/1.8/channels/xpmr/xpmr.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/xpmr/xpmr.c?view=diff&rev=357986&r1=357985&r2=357986
==============================================================================
--- branches/1.8/channels/xpmr/xpmr.c (original)
+++ branches/1.8/channels/xpmr/xpmr.c Fri Mar 2 15:57:41 2012
@@ -1555,7 +1555,7 @@
}
#endif
indexWas=indexNow;
- ptdet->zIndex=(++ptdet->zIndex)%4;
+ ptdet->zIndex=(ptdet->zIndex + 1) % 4;
}
ptdet->counter-=(points2do*CTCSS_SCOUNT_MUL);
@@ -2019,7 +2019,7 @@
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;
More information about the asterisk-commits
mailing list