aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp1/usrp1_ctrl.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-05-14 19:57:03 -0700
committerJosh Blum <josh@joshknows.com>2011-05-14 19:57:03 -0700
commitf991d3dc751e110425d4a0eed722f6de0fef4261 (patch)
treed147596eba8d16294d4131dec2f66ca5c653f37a /host/lib/usrp/usrp1/usrp1_ctrl.cpp
parent29a0c916dfdc2f960761c1bebcccc53478abd30c (diff)
downloaduhd-f991d3dc751e110425d4a0eed722f6de0fef4261.tar.gz
uhd-f991d3dc751e110425d4a0eed722f6de0fef4261.tar.bz2
uhd-f991d3dc751e110425d4a0eed722f6de0fef4261.zip
usrp1: apply conditional disables/enables to rx and tx
Scapped the old gnuradio code for information about VRQ_FPGA_SET_XX_ENABLE. It turns out that we should disabled + restore state when changing muxes or rates. The USRP seems to stream properly when receiving single and dual channel. Prior to this commit, tx was accicentally always disabled from a few commits ago.
Diffstat (limited to 'host/lib/usrp/usrp1/usrp1_ctrl.cpp')
-rw-r--r--host/lib/usrp/usrp1/usrp1_ctrl.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp1/usrp1_ctrl.cpp b/host/lib/usrp/usrp1/usrp1_ctrl.cpp
index 96dc5d80c..2e6f6e014 100644
--- a/host/lib/usrp/usrp1/usrp1_ctrl.cpp
+++ b/host/lib/usrp/usrp1/usrp1_ctrl.cpp
@@ -210,10 +210,6 @@ public:
usrp_tx_reset(true);
usrp_rx_reset(false);
usrp_tx_reset(false);
-
- //enable
- //usrp_rx_enable(true); //dont enable, enable means dont work
- //usrp_tx_enable(true);
}
void usrp_load_fpga(std::string filestring)