From 9429905c9713bef42cd7358d01c173eafda0d29e Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 8 Feb 2012 13:12:44 -0800 Subject: e100: loopback test fix after register tweaks --- host/usrp_e_utils/usrp-e-loopback.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'host/usrp_e_utils') 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; -- cgit v1.2.3