aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/io_impl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-09 19:02:43 -0800
committerJosh Blum <josh@joshknows.com>2012-02-09 19:02:43 -0800
commit8442ea5e2cfec89db6e58736a969da2842734631 (patch)
tree624301099581ea0794d88a61007bdf3418182d1d /host/lib/usrp/usrp1/io_impl.cpp
parent115100034071b3b58de1fce7c795995f6ee615a1 (diff)
downloaduhd-8442ea5e2cfec89db6e58736a969da2842734631.tar.gz
uhd-8442ea5e2cfec89db6e58736a969da2842734631.tar.bz2
uhd-8442ea5e2cfec89db6e58736a969da2842734631.zip
b100/usrp1: various tweaks for compiler warns and valgrind
Diffstat (limited to 'host/lib/usrp/usrp1/io_impl.cpp')
-rw-r--r--host/lib/usrp/usrp1/io_impl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/usrp/usrp1/io_impl.cpp b/host/lib/usrp/usrp1/io_impl.cpp
index f3cad188a..f27135562 100644
--- a/host/lib/usrp/usrp1/io_impl.cpp
+++ b/host/lib/usrp/usrp1/io_impl.cpp
@@ -221,17 +221,17 @@ void usrp1_impl::io_init(void){
_io_impl = UHD_PIMPL_MAKE(io_impl, (_data_transport));
- //create a new vandal thread to poll xerflow conditions
- _io_impl->vandal_task = task::make(boost::bind(
- &usrp1_impl::vandal_conquest_loop, this
- ));
-
//init as disabled, then call the real function (uses restore)
this->enable_rx(false);
this->enable_tx(false);
rx_stream_on_off(false);
tx_stream_on_off(false);
_io_impl->flush_send_buff();
+
+ //create a new vandal thread to poll xerflow conditions
+ _io_impl->vandal_task = task::make(boost::bind(
+ &usrp1_impl::vandal_conquest_loop, this
+ ));
}
void usrp1_impl::rx_stream_on_off(bool enb){