summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-05-13 18:25:36 +0000
committerPhilip Balister <philip@opensdr.com>2010-05-13 18:25:36 +0000
commit89d6cb12a03153934b68d51e69bfdb3b9af43872 (patch)
treeb51936a7da481b9d53796ab9af613ccf531982bb
parent9251c115b302b7b5773e2e16bbd7a7dfd6c18b74 (diff)
downloaduhd-89d6cb12a03153934b68d51e69bfdb3b9af43872.tar.gz
uhd-89d6cb12a03153934b68d51e69bfdb3b9af43872.tar.bz2
uhd-89d6cb12a03153934b68d51e69bfdb3b9af43872.zip
Print a . for every packet received.
-rw-r--r--host/apps/omap_debug/usrp-e-rw-random.c2
-rw-r--r--host/apps/omap_debug/usrp-e-rw.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/host/apps/omap_debug/usrp-e-rw-random.c b/host/apps/omap_debug/usrp-e-rw-random.c
index c6a838067..43f1571cb 100644
--- a/host/apps/omap_debug/usrp-e-rw-random.c
+++ b/host/apps/omap_debug/usrp-e-rw-random.c
@@ -76,6 +76,8 @@ static void *read_thread(void *threadid)
if (calc_checksum(p) != p->checksum)
printf("Checksum fail packet = %d, expected = %d\n",
calc_checksum(p), p->checksum);
+ printf(".");
+ fflush(stdout);
// printf("\n");
}
diff --git a/host/apps/omap_debug/usrp-e-rw.c b/host/apps/omap_debug/usrp-e-rw.c
index edfcea92a..7fba8cd2a 100644
--- a/host/apps/omap_debug/usrp-e-rw.c
+++ b/host/apps/omap_debug/usrp-e-rw.c
@@ -68,6 +68,9 @@ static void *read_thread(void *threadid)
if (calc_checksum(p) != p->checksum)
printf("Checksum fail packet = %X, expected = %X\n",
calc_checksum(p), p->checksum);
+
+ printf(".");
+ fflush(stdout);
// printf("\n");
}