From bda6bcb2301281304981380cb804babcc681641a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Tue, 4 Nov 2014 20:26:34 +0100 Subject: Cleaned out apps dir (deprecated tools) --- host/apps/omap_debug/u1e-read-stream.c | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 host/apps/omap_debug/u1e-read-stream.c (limited to 'host/apps/omap_debug/u1e-read-stream.c') 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 -#include -#include - -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]); -} -- cgit v1.2.3