aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M
diff options
context:
space:
mode:
Diffstat (limited to 'Transceiver52M')
-rw-r--r--Transceiver52M/USRPDevice.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Transceiver52M/USRPDevice.cpp b/Transceiver52M/USRPDevice.cpp
index ff5af40..175b187 100644
--- a/Transceiver52M/USRPDevice.cpp
+++ b/Transceiver52M/USRPDevice.cpp
@@ -38,6 +38,9 @@
#include <Logger.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
using namespace std;
@@ -48,7 +51,12 @@ enum dboardConfigType {
TXB_RXB
};
+#ifdef SINGLEDB
+const dboardConfigType dboardConfig = TXA_RXA;
+#else
const dboardConfigType dboardConfig = TXA_RXB;
+#endif
+
const double USRPDevice::masterClockRate = 52.0e6;
USRPDevice::USRPDevice (double _desiredSampleRate, bool skipRx)