[asterisk-commits] twilson: branch 10 r357987 - in /branches/10: ./ channels/xpmr/xpmr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Mar 2 16:14:17 CST 2012


Author: twilson
Date: Fri Mar  2 16:14:15 2012
New Revision: 357987

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=357987
Log:
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

Modified:
    branches/10/   (props changed)
    branches/10/channels/xpmr/xpmr.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/channels/xpmr/xpmr.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/xpmr/xpmr.c?view=diff&rev=357987&r1=357986&r2=357987
==============================================================================
--- branches/10/channels/xpmr/xpmr.c (original)
+++ branches/10/channels/xpmr/xpmr.c Fri Mar  2 16:14:15 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