summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-20 20:58:54 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-05-20 20:58:54 +0200
commit9522c159dcca6acbb22c2f8ff04d76f4c6104c34 (patch)
tree7b05ce20b5cc6296af1b4662c62529f7a3d38c83 /src/OutputUHD.h
parent76302cd1f4441187e8481eeb2365669105081204 (diff)
downloaddabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.tar.gz
dabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.tar.bz2
dabmod-9522c159dcca6acbb22c2f8ff04d76f4c6104c34.zip
Add subdevice to UHD configuration
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r--src/OutputUHD.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h
index 990822e..69e5b20 100644
--- a/src/OutputUHD.h
+++ b/src/OutputUHD.h
@@ -153,6 +153,10 @@ class UHDWorker {
struct OutputUHDConfig {
std::string device;
std::string usrpType; // e.g. b100, b200, usrp2
+
+ // The USRP1 can accept two daughterboards
+ std::string subDevice; // e.g. A:0
+
long masterClockRate;
unsigned sampleRate;
double frequency;