aboutsummaryrefslogtreecommitdiffstats
path: root/host/examples/tx_samples_from_file.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-10-08 11:48:40 -0700
committerJosh Blum <josh@joshknows.com>2011-10-08 11:48:40 -0700
commitaa908fafa2f8dcf9d869c21e5b8cd14aab8a6147 (patch)
tree28f499adad5a7f00606a612e420908627e848795 /host/examples/tx_samples_from_file.cpp
parent26aacf3edc1331691827156903a65125532ea6a8 (diff)
downloaduhd-aa908fafa2f8dcf9d869c21e5b8cd14aab8a6147.tar.gz
uhd-aa908fafa2f8dcf9d869c21e5b8cd14aab8a6147.tar.bz2
uhd-aa908fafa2f8dcf9d869c21e5b8cd14aab8a6147.zip
uhd: help messages for user on rx samples to file
Diffstat (limited to 'host/examples/tx_samples_from_file.cpp')
-rw-r--r--host/examples/tx_samples_from_file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/tx_samples_from_file.cpp b/host/examples/tx_samples_from_file.cpp
index d052baa4a..03fc4c8d4 100644
--- a/host/examples/tx_samples_from_file.cpp
+++ b/host/examples/tx_samples_from_file.cpp
@@ -70,7 +70,7 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){
("help", "help message")
("args", po::value<std::string>(&args)->default_value(""), "multi uhd device address args")
("file", po::value<std::string>(&file)->default_value("usrp_samples.dat"), "name of the file to read binary samples from")
- ("type", po::value<std::string>(&type)->default_value("float"), "sample type: double, float, or short")
+ ("type", po::value<std::string>(&type)->default_value("short"), "sample type: double, float, or short")
("spb", po::value<size_t>(&spb)->default_value(10000), "samples per buffer")
("rate", po::value<double>(&rate), "rate of outgoing samples")
("freq", po::value<double>(&freq), "RF center frequency in Hz")