diff options
author | Thomas Tsou <tom@tsou.cc> | 2013-10-16 00:31:18 -0400 |
---|---|---|
committer | Thomas Tsou <tom@tsou.cc> | 2013-10-18 13:10:18 -0400 |
commit | 010fff783bf658e79b0b32ad64a44af4e3f22b1e (patch) | |
tree | c20d18d41b36261f9e525bdfb5bea7e1a24c66a5 /Transceiver52M/radioDevice.h | |
parent | 61b4a6ad9f959421b2bf61e6e55bb0713f0db822 (diff) |
Transceiver52M: Move reference select from compile time to database
Enabling the external reference on UHD devices through the configure
time switch is awkward. Use a database variable "TRX.Reference" with
'0' or '1' value for internal and external references respectively.
Use internal reference is no entry is defined.
Signed-off-by: Thomas Tsou <tom@tsou.cc>
Diffstat (limited to 'Transceiver52M/radioDevice.h')
-rw-r--r-- | Transceiver52M/radioDevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/radioDevice.h b/Transceiver52M/radioDevice.h index 07ffd63..e08904b 100644 --- a/Transceiver52M/radioDevice.h +++ b/Transceiver52M/radioDevice.h @@ -39,7 +39,7 @@ class RadioDevice { static RadioDevice *make(int sps, bool skipRx = false); /** Initialize the USRP */ - virtual int open(const std::string &args)=0; + virtual int open(const std::string &args = "", bool extref = false)=0; /** Start the USRP */ virtual bool start()=0; |