aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-02-08 13:12:44 -0800
committerJosh Blum <josh@joshknows.com>2012-02-08 13:12:44 -0800
commit9429905c9713bef42cd7358d01c173eafda0d29e (patch)
tree6327ef7293ef6c371cc02f2f5ca7705108d1be93 /host
parent2a79f1928087660b07e183dd81e259fa764a9945 (diff)
downloaduhd-9429905c9713bef42cd7358d01c173eafda0d29e.tar.gz
uhd-9429905c9713bef42cd7358d01c173eafda0d29e.tar.bz2
uhd-9429905c9713bef42cd7358d01c173eafda0d29e.zip
e100: loopback test fix after register tweaks
Diffstat (limited to 'host')
-rw-r--r--host/usrp_e_utils/usrp-e-loopback.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/host/usrp_e_utils/usrp-e-loopback.cpp b/host/usrp_e_utils/usrp-e-loopback.cpp
index 5b289c648..d4220adc3 100644
--- a/host/usrp_e_utils/usrp-e-loopback.cpp
+++ b/host/usrp_e_utils/usrp-e-loopback.cpp
@@ -261,8 +261,7 @@ int main(int argc, char *argv[]){
poke16(E100_REG_MISC_XFER_RATE, (1<<8) | (1<<9));
//clear FIFO state in FPGA and kernel
- poke32(E100_REG_CLEAR_RX, 0);
- poke32(E100_REG_CLEAR_TX, 0);
+ poke32(E100_REG_CLEAR_FIFO, 0);
::close(fp);
if ((fp = ::open("/dev/usrp_e0", O_RDWR)) < 0){
std::cerr << "Open failed" << std::endl;