commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r10002 - gnuradio/branches/features/cppdb/gnuradio-exa


From: trondeau
Subject: [Commit-gnuradio] r10002 - gnuradio/branches/features/cppdb/gnuradio-examples/c++/usrp_test
Date: Sun, 16 Nov 2008 14:57:10 -0700 (MST)

Author: trondeau
Date: 2008-11-16 14:57:10 -0700 (Sun, 16 Nov 2008)
New Revision: 10002

Modified:
   
gnuradio/branches/features/cppdb/gnuradio-examples/c++/usrp_test/usrp_test_tx.cc
Log:
fixed reading in tx subdev spec

Modified: 
gnuradio/branches/features/cppdb/gnuradio-examples/c++/usrp_test/usrp_test_tx.cc
===================================================================
--- 
gnuradio/branches/features/cppdb/gnuradio-examples/c++/usrp_test/usrp_test_tx.cc
    2008-11-16 21:47:06 UTC (rev 10001)
+++ 
gnuradio/branches/features/cppdb/gnuradio-examples/c++/usrp_test/usrp_test_tx.cc
    2008-11-16 21:57:10 UTC (rev 10002)
@@ -115,8 +115,8 @@
     return -1;
   }
 
-  if(vm.count("rx-subdev-spec")) {
-    std::string s = vm["rx-subdev-spec"].as<std::string>();
+  if(vm.count("tx-subdev-spec")) {
+    std::string s = vm["tx-subdev-spec"].as<std::string>();
     if(s == "A" || s == "A:0" || s == "0:0") {
       spec.side = 0;
       spec.subdev = 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]