aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/USRPDevice.cpp
diff options
context:
space:
mode:
authorThomas Tsou <tom@tsou.cc>2013-10-16 00:31:18 -0400
committerThomas Tsou <tom@tsou.cc>2013-10-18 13:10:18 -0400
commit010fff783bf658e79b0b32ad64a44af4e3f22b1e (patch)
treec20d18d41b36261f9e525bdfb5bea7e1a24c66a5 /Transceiver52M/USRPDevice.cpp
parent61b4a6ad9f959421b2bf61e6e55bb0713f0db822 (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/USRPDevice.cpp')
-rw-r--r--Transceiver52M/USRPDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/USRPDevice.cpp b/Transceiver52M/USRPDevice.cpp
index 3a61e64..1fff124 100644
--- a/Transceiver52M/USRPDevice.cpp
+++ b/Transceiver52M/USRPDevice.cpp
@@ -90,7 +90,7 @@ USRPDevice::USRPDevice(int sps, bool skipRx)
#endif
}
-int USRPDevice::open(const std::string &)
+int USRPDevice::open(const std::string &, bool)
{
writeLock.unlock();