summaryrefslogtreecommitdiff
path: root/gnuradio-core/src
diff options
context:
space:
mode:
authorTom Rondeau2010-10-31 17:13:36 -0400
committerTom Rondeau2010-10-31 17:13:36 -0400
commit246c0b96f22b3eb945fb1cef1aafd32bbb7cd815 (patch)
tree4fdd3fc3277c9a7cb622d3f2032ad6543aa1ee5a /gnuradio-core/src
parente6dedf7fb1075e22e8ea46c9c8d456ba92f92df1 (diff)
downloadgnuradio-246c0b96f22b3eb945fb1cef1aafd32bbb7cd815.tar.gz
gnuradio-246c0b96f22b3eb945fb1cef1aafd32bbb7cd815.tar.bz2
gnuradio-246c0b96f22b3eb945fb1cef1aafd32bbb7cd815.zip
get_tags_in_range now gets items between start and end INCLUSIVELY.
Diffstat (limited to 'gnuradio-core/src')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_block_detail.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block_detail.cc b/gnuradio-core/src/lib/runtime/gr_block_detail.cc
index 18f3601fc..69f65f0d0 100644
--- a/gnuradio-core/src/lib/runtime/gr_block_detail.cc
+++ b/gnuradio-core/src/lib/runtime/gr_block_detail.cc
@@ -173,7 +173,7 @@ gr_block_detail::get_tags_in_range(unsigned int which_output,
break;
}
- if((item_time > start) && (item_time < end)) {
+ if((item_time >= start) && (item_time <= end)) {
found_items.push_back(*itr);
}
@@ -202,7 +202,7 @@ gr_block_detail::get_tags_in_range(unsigned int which_output,
}
itemkey = pmt::pmt_tuple_ref(*itr, 2);
- if((item_time > start) && (item_time < end) && (key == itemkey)) {
+ if((item_time >= start) && (item_time <= end) && (key == itemkey)) {
found_items.push_back(*itr);
}