aboutsummaryrefslogtreecommitdiffstats
path: root/host/usrp_e_utils
diff options
context:
space:
mode:
Diffstat (limited to 'host/usrp_e_utils')
-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;