summaryrefslogtreecommitdiff
path: root/gr-pager/lib/pager_flex_sync.cc
diff options
context:
space:
mode:
authorTom Rondeau2011-08-27 16:44:15 -0400
committerTom Rondeau2011-08-27 16:44:15 -0400
commit2edf5df55faf494e54fe8ddc5e23d0b767cd82e4 (patch)
tree8beb26e957c7db1edea006a2677c54a50f59bd93 /gr-pager/lib/pager_flex_sync.cc
parent20e992b24ee70e515f08e8c5c2386c054141890f (diff)
parent6f79b8be8f7edb8cc6f18b6a12ede2858d65b681 (diff)
downloadgnuradio-2edf5df55faf494e54fe8ddc5e23d0b767cd82e4.tar.gz
gnuradio-2edf5df55faf494e54fe8ddc5e23d0b767cd82e4.tar.bz2
gnuradio-2edf5df55faf494e54fe8ddc5e23d0b767cd82e4.zip
Merge branch 'maint' of gnuradio.org:gnuradio into maint
Diffstat (limited to 'gr-pager/lib/pager_flex_sync.cc')
-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: