summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-03-02 22:36:28 +0000
committerTerry Wilson <twilson@digium.com>2012-03-02 22:36:28 +0000
commite8f8d2c81e8b5182c83941df414fb302c4be7e61 (patch)
tree7a36d94013a0a9e0b92515251bb06b4525df50cf
parent8d1bde49a9255ddf5738aa453cb1daf83e7566bb (diff)
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
-rwxr-xr-xchannels/xpmr/xpmr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/xpmr/xpmr.c b/channels/xpmr/xpmr.c
index b94b0faf9..0fc1fbe99 100755
--- a/channels/xpmr/xpmr.c
+++ b/channels/xpmr/xpmr.c
@@ -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;