aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/USRPping.cpp
diff options
context:
space:
mode:
authorkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:16:54 +0000
committerkurtis.heimerl <kurtis.heimerl@19bc5d8c-e614-43d4-8b26-e1612bc8e597>2011-11-26 03:16:54 +0000
commit965e757c53d2abc805d927bb7d1d2b62d24bfe4a (patch)
treebd78ce2166e17b1f494f38e1d05ac735dac661cb /Transceiver52M/USRPping.cpp
parentd302868b13c4abe5616d5425b1bc47420023831c (diff)
uhd: add 52 MHz transceiver support
These are mostly identical changes as added to the non-52MHz implementation with the exception of sample rate. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@2634 19bc5d8c-e614-43d4-8b26-e1612bc8e597
Diffstat (limited to 'Transceiver52M/USRPping.cpp')
-rw-r--r--Transceiver52M/USRPping.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Transceiver52M/USRPping.cpp b/Transceiver52M/USRPping.cpp
index b80e8cb..62f7de6 100644
--- a/Transceiver52M/USRPping.cpp
+++ b/Transceiver52M/USRPping.cpp
@@ -28,7 +28,7 @@
#include <stdio.h>
#include <Logger.h>
#include <Configuration.h>
-#include "USRPDevice.h"
+#include "radioDevice.h"
ConfigurationTable gConfig;
@@ -41,9 +41,9 @@ int main(int argc, char *argv[]) {
else gLogInit("DEBUG");
//if (argc>2) gSetLogFile(argv[2]);
- USRPDevice *usrp = new USRPDevice(52.0e6/192.0);
+ RadioDevice *usrp = RadioDevice::make(52.0e6/192.0);
- usrp->make();
+ usrp->open();
TIMESTAMP timestamp;