aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/usrp-e-rw-random.c
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-05-28 11:26:40 +0000
committerPhilip Balister <philip@opensdr.com>2010-06-13 19:24:15 +0000
commit8869208ea8d8dfdd5fe86adc1637b93c4b390c0c (patch)
treea4346650facae73a1ad3755e609e4c31c44273df /host/apps/omap_debug/usrp-e-rw-random.c
parent71783634c4394e739bbc13a9bb3df7d6ab75c147 (diff)
downloaduhd-8869208ea8d8dfdd5fe86adc1637b93c4b390c0c.tar.gz
uhd-8869208ea8d8dfdd5fe86adc1637b93c4b390c0c.tar.bz2
uhd-8869208ea8d8dfdd5fe86adc1637b93c4b390c0c.zip
Update usrp_e.h file. Change programs to use struct element status instead of flags.
Diffstat (limited to 'host/apps/omap_debug/usrp-e-rw-random.c')
-rw-r--r--host/apps/omap_debug/usrp-e-rw-random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/host/apps/omap_debug/usrp-e-rw-random.c b/host/apps/omap_debug/usrp-e-rw-random.c
index 43f1571cb..5960b8fbd 100644
--- a/host/apps/omap_debug/usrp-e-rw-random.c
+++ b/host/apps/omap_debug/usrp-e-rw-random.c
@@ -65,7 +65,7 @@ static void *read_thread(void *threadid)
while (1) {
cnt = read(fp, rx_data, 2048);
-// printf("Packet received, flags = %X, len = %d\n", rx_data->flags, rx_data->len);
+// printf("Packet received, status = %X, len = %d\n", rx_data->status, rx_data->len);
// printf("p->seq_num = %d\n", p->seq_num);
if (p->seq_num != prev_seq_num + 1)
@@ -102,7 +102,7 @@ static void *write_thread(void *threadid)
// p->data[i] = random() >> 16;
p->data[i] = i;
- tx_data->flags = 0xdeadbeef;
+ tx_data->status = 0xdeadbeef;
tx_data->len = 8 + packet_data_length * 2;
printf("tx_data->len = %d\n", tx_data->len);