summaryrefslogtreecommitdiff
path: root/gr-uhd/lib/usrp_block_impl.h
diff options
context:
space:
mode:
authorJacob Gilbert <mrjacobagilbert@gmail.com>2020-10-20 08:52:59 -0700
committerMartin Braun <martin@gnuradio.org>2021-01-14 04:52:02 -0800
commitde0e9bad9ab451fd99e502e63afb794e85597820 (patch)
tree4d9898184eeea6904243bf354a7f195361921c74 /gr-uhd/lib/usrp_block_impl.h
parent41db56aeaf7536bbe541fa64c290480e48d28f87 (diff)
gr-uhd: adding a bool to force tune request if a 'direction' key is provided with the tune command. This fixes an issue when the 'TX' and 'RX' directions are tuned explicitly to the same frequency; prior to this fix the second tune request is dropped.
Diffstat (limited to 'gr-uhd/lib/usrp_block_impl.h')
-rw-r--r--gr-uhd/lib/usrp_block_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-uhd/lib/usrp_block_impl.h b/gr-uhd/lib/usrp_block_impl.h
index 7560b839e0..f1f651771e 100644
--- a/gr-uhd/lib/usrp_block_impl.h
+++ b/gr-uhd/lib/usrp_block_impl.h
@@ -212,6 +212,7 @@ protected:
bool _stream_now;
::uhd::time_spec_t _start_time;
bool _start_time_set;
+ bool _force_tune;
/****** Command interface related **********/
//! Stores a list of commands for later execution