summaryrefslogtreecommitdiffstats
path: root/src/OutputUHD.h
diff options
context:
space:
mode:
authorKenneth Mortensen <mortensenit@users.noreply.github.com>2015-01-05 16:36:52 +0100
committerKenneth Mortensen <mortensenit@users.noreply.github.com>2015-01-05 16:36:52 +0100
commit191817b42ad86a250bbff02895e9646f51531672 (patch)
tree521d6b1a9a30a657d84c80ca9660c24c4db8ee86 /src/OutputUHD.h
parentfcc439f1387887110ccbf0e9e6a6d116eba315ac (diff)
parent94c1f63b6fd07d74f3325274dd19fd6beaf53965 (diff)
downloaddabmod-191817b42ad86a250bbff02895e9646f51531672.tar.gz
dabmod-191817b42ad86a250bbff02895e9646f51531672.tar.bz2
dabmod-191817b42ad86a250bbff02895e9646f51531672.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/OutputUHD.h')
-rw-r--r--src/OutputUHD.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/OutputUHD.h b/src/OutputUHD.h
index 3a047bf..a2ffb7d 100644
--- a/src/OutputUHD.h
+++ b/src/OutputUHD.h
@@ -42,6 +42,8 @@ DESCRIPTION:
# include <config.h>
#endif
+#ifdef HAVE_OUTPUT_UHD
+
#include <uhd/utils/thread_priority.hpp>
#include <uhd/utils/safe_main.hpp>
#include <uhd/usrp/multi_usrp.hpp>
@@ -166,7 +168,7 @@ struct OutputUHDConfig {
long masterClockRate;
unsigned sampleRate;
double frequency;
- int txgain;
+ double txgain;
bool enableSync;
bool muteNoTimestamps;
@@ -230,6 +232,7 @@ class OutputUHD: public ModOutput, public RemoteControllable {
size_t lastLen;
};
+#endif // HAVE_OUTPUT_UHD
#endif // OUTPUT_UHD_H