diff options
author | Kenneth Mortensen <mortensenit@users.noreply.github.com> | 2015-01-05 16:36:52 +0100 |
---|---|---|
committer | Kenneth Mortensen <mortensenit@users.noreply.github.com> | 2015-01-05 16:36:52 +0100 |
commit | 191817b42ad86a250bbff02895e9646f51531672 (patch) | |
tree | 521d6b1a9a30a657d84c80ca9660c24c4db8ee86 /src/OutputUHD.h | |
parent | fcc439f1387887110ccbf0e9e6a6d116eba315ac (diff) | |
parent | 94c1f63b6fd07d74f3325274dd19fd6beaf53965 (diff) | |
download | dabmod-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.h | 5 |
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 |