aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/u1e-read-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'host/apps/omap_debug/u1e-read-stream.c')
-rw-r--r--host/apps/omap_debug/u1e-read-stream.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/host/apps/omap_debug/u1e-read-stream.c b/host/apps/omap_debug/u1e-read-stream.c
deleted file mode 100644
index 4e4c21d9e..000000000
--- a/host/apps/omap_debug/u1e-read-stream.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include <stdio.h>
-#include <sys/types.h>
-#include <fcntl.h>
-
-int main(int rgc, char *argv[])
-{
- int fp, cnt, n;
- short buf[1024];
-
- n = 0;
-
- fp = open("/dev/usrp1_e0", O_RDONLY);
- printf("fp = %d\n", fp);
-
- do {
- cnt = read(fp, buf, 2048);
- n++;
-// printf("Bytes read - %d\n", cnt);
- } while(n < 10*512);
- printf("Data - %hX\n", buf[0]);
-}