summaryrefslogtreecommitdiff
path: root/usrp2/host/apps/tx_samples.cc
diff options
context:
space:
mode:
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;