summaryrefslogtreecommitdiffstats
path: root/host/apps
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-09-21 20:06:43 +0000
committerPhilip Balister <philip@opensdr.com>2010-09-21 20:06:43 +0000
commit77cdb4a9695e71e64e1d87cfad2cb4d8717f971e (patch)
treea3dc039b2c7124f988acda462d2aa76f5877f011 /host/apps
parent943bfa271c97b36dcba74f1d65220e6f66f50c7f (diff)
downloaduhd-77cdb4a9695e71e64e1d87cfad2cb4d8717f971e.tar.gz
uhd-77cdb4a9695e71e64e1d87cfad2cb4d8717f971e.tar.bz2
uhd-77cdb4a9695e71e64e1d87cfad2cb4d8717f971e.zip
Use a dummy write to start DMA transfers when sending data to the FPGA.
Poll will also start data transfers.
Diffstat (limited to 'host/apps')
-rw-r--r--host/apps/omap_debug/usrp-e-mm-loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/apps/omap_debug/usrp-e-mm-loopback.c b/host/apps/omap_debug/usrp-e-mm-loopback.c
index 053f60b60..f5fc83c87 100644
--- a/host/apps/omap_debug/usrp-e-mm-loopback.c
+++ b/host/apps/omap_debug/usrp-e-mm-loopback.c
@@ -181,7 +181,7 @@ static void *write_thread(void *threadid)
if (rb_write == rb_size.num_tx_frames)
rb_write = 0;
-// cnt = write(fp, tx_data, p->len * 2 + 12);
+ cnt = write(fp, NULL, 0);
// if (cnt < 0)
// printf("Error returned from write: %d\n", cnt);
// sleep(1);