Author: gnychis
Date: 2007-10-17 09:17:13 -0600 (Wed, 17 Oct 2007)
New Revision: 6646

Modified:
   
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
Log:
Fix for shared memory hack between USB interface block and RX block to stop the
RX


Modified: 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
===================================================================
--- 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
    2007-10-17 14:57:52 UTC (rev 6645)
+++ 
gnuradio/branches/features/inband-usb/usrp/host/lib/inband/usrp_usb_interface.cc
    2007-10-17 15:17:13 UTC (rev 6646)
@@ -396,6 +396,7 @@
     if(verbose)
       std::cout << "[USRP_USB_INTERFACE] Stopping RX...\n";
     usrp_rx_stop = true;
+    while(usrp_rx_stop) {usleep(1);}
     d_urx->stop();
   }
   else {



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to