summaryrefslogtreecommitdiff
path: root/gr-pager
diff options
context:
space:
mode:
authorJosh Blum2011-07-26 22:29:53 -0700
committerJosh Blum2011-07-26 22:29:53 -0700
commit7919aa977544a5c30dd1a9e98fdf0d5f56750581 (patch)
treee8ea3a856e41a1e3aca37e636129cc15d8be8d9f /gr-pager
parent097b9bd5b2374c381380bc26f40677f8bf470c25 (diff)
parent302bd2d7125ba1a973433a9ef7cd9afba2d47438 (diff)
downloadgnuradio-7919aa977544a5c30dd1a9e98fdf0d5f56750581.tar.gz
gnuradio-7919aa977544a5c30dd1a9e98fdf0d5f56750581.tar.bz2
gnuradio-7919aa977544a5c30dd1a9e98fdf0d5f56750581.zip
Merge branch 'next' of gnuradio.org:gnuradio into next
Diffstat (limited to 'gr-pager')
-rw-r--r--gr-pager/lib/pager_flex_sync.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-pager/lib/pager_flex_sync.cc b/gr-pager/lib/pager_flex_sync.cc
index 61cf4ad38..30666298f 100644
--- a/gr-pager/lib/pager_flex_sync.cc
+++ b/gr-pager/lib/pager_flex_sync.cc
@@ -274,7 +274,7 @@ int pager_flex_sync::general_work(int noutput_items,
while (i < ninputs && j < noutput_items) {
unsigned char sym = *in++; i++;
- d_index = ++d_index % d_spb;
+ d_index = (d_index+1) % d_spb;
switch (d_state) {
case ST_IDLE: