summaryrefslogtreecommitdiff
path: root/usrp2/host/apps/tx_samples.cc
diff options
context:
space:
mode:
authorJosh Blum2010-05-04 13:15:57 -0700
committerJosh Blum2010-05-04 13:15:57 -0700
commitb6f86944737975efde1275144c1c344e4a633146 (patch)
tree6287b1cd117425a34d9499bc69c706bd0fdc971b /usrp2/host/apps/tx_samples.cc
parent1e4bf239c1f09a0180585de62746922bcd34b639 (diff)
parente22224454f63be561fa2a5923d35b65ba403b6ac (diff)
downloadgnuradio-b6f86944737975efde1275144c1c344e4a633146.tar.gz
gnuradio-b6f86944737975efde1275144c1c344e4a633146.tar.bz2
gnuradio-b6f86944737975efde1275144c1c344e4a633146.zip
Merge branch 'master' of http://gnuradio.org/git/gnuradio into uhd
Diffstat (limited to 'usrp2/host/apps/tx_samples.cc')
-rw-r--r--usrp2/host/apps/tx_samples.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/usrp2/host/apps/tx_samples.cc b/usrp2/host/apps/tx_samples.cc
index 5c3728fb1..3e41bbf8d 100644
--- a/usrp2/host/apps/tx_samples.cc
+++ b/usrp2/host/apps/tx_samples.cc
@@ -150,6 +150,10 @@ main(int argc, char **argv)
interp = strtol(optarg, 0, 0);
break;
+ case 'g':
+ gain = strtod(optarg, 0);
+ break;
+
case 'S':
if (!strtod_si(optarg, &tmp)){
std::cerr << "invalid number: " << optarg << std::endl;