commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r5815 - in gnuradio/branches/developers/gnychis/inband


From: gnychis
Subject: [Commit-gnuradio] r5815 - in gnuradio/branches/developers/gnychis/inband/usrp/host: apps lib/inband
Date: Sat, 23 Jun 2007 09:03:59 -0600 (MDT)

Author: gnychis
Date: 2007-06-23 09:03:58 -0600 (Sat, 23 Jun 2007)
New Revision: 5815

Modified:
   
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_rx.cc
   
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_tx.cc
   gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
Log:
Re-enabling the stubs so that real USRP's aren't needed for the tests, and 
disabling disk write debugging.


Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_rx.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_rx.cc
   2007-06-23 14:55:22 UTC (rev 5814)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_rx.cc
   2007-06-23 15:03:58 UTC (rev 5815)
@@ -109,8 +109,8 @@
   d_rx = define_port("rx0", "usrp-rx", false, mb_port::INTERNAL);
   d_cs = define_port("cs", "usrp-server-cs", false, mb_port::INTERNAL);
   
-  //bool fake_usrp_p = true;
-  bool fake_usrp_p = false;
+  bool fake_usrp_p = true;
+  //bool fake_usrp_p = false;
 
   // Test the TX side
 

Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_tx.cc
===================================================================
--- 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_tx.cc
   2007-06-23 14:55:22 UTC (rev 5814)
+++ 
gnuradio/branches/developers/gnychis/inband/usrp/host/apps/test_usrp_inband_tx.cc
   2007-06-23 15:03:58 UTC (rev 5815)
@@ -122,8 +122,8 @@
   d_tx = define_port("tx0", "usrp-tx", false, mb_port::INTERNAL);
   d_cs = define_port("cs", "usrp-server-cs", false, mb_port::INTERNAL);
   
-  //bool fake_usrp_p = true;
-  bool fake_usrp_p = false;
+  bool fake_usrp_p = true;
+  //bool fake_usrp_p = false;
 
   // Test the TX side
 
@@ -308,7 +308,7 @@
   // allocate the uniform vector for the samples
   // FIXME perhaps hold on to this between calls
 
-#if 0
+#if 1
   long nsamples_this_frame =
     std::min(d_nsamples_to_send - d_nsamples_xmitted,
             d_samples_per_frame);

Modified: 
gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc
===================================================================
--- gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc 
2007-06-23 14:55:22 UTC (rev 5814)
+++ gnuradio/branches/developers/gnychis/inband/usrp/host/lib/inband/usrp_rx.cc 
2007-06-23 15:03:58 UTC (rev 5815)
@@ -47,7 +47,7 @@
 {
   d_cs = define_port("cs", "usrp-rx-cs", true, mb_port::EXTERNAL);
   
-  d_disk_write=true;
+  //d_disk_write=true;
   
   if(d_disk_write)
     d_ofile.open("rx_raw.dat",std::ios::binary|std::ios::out);





reply via email to

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