aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/radioDevice.h
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2014-03-06 14:16:11 -0500
committerThomas Tsou <tom@tsou.cc>2014-03-06 15:52:49 -0500
commit8e17df7374367d57693b1d016239348640f930aa (patch)
tree4de83e30abcce769bd55225f5c7afa1504e47f25 /Transceiver52M/radioDevice.h
parent3ebc772dc211ad9c506e413683f66d833fd7e0da (diff)
Transceivert52M: Add option for baseband frequency offset
Allow command line setting of the DSP frequency in UHD. All channels will be tuned with the same offset. Dual-channel tuning with the B210, which uses a single LO, will override the command line offset value and set the DSP frequency automatically. Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r--Transceiver52M/radioDevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h
index 6fd10db..6273bcc 100644
--- a/Transceiver52M/radioDevice.h
+++ b/Transceiver52M/radioDevice.h
@@ -38,7 +38,7 @@ class RadioDevice {
enum RadioInterfaceType { NORMAL, RESAMP_64M, RESAMP_100M, DIVERSITY };
static RadioDevice *make(size_t sps, size_t chans = 1,
- bool diversity = false);
+ bool diversity = false, double offset = 0.0);
/** Initialize the USRP */
virtual int open(const std::string &args = "", bool extref = false)=0;