diff options
author | Philip Balister <philip@opensdr.com> | 2010-05-28 11:26:40 +0000 |
---|---|---|
committer | Philip Balister <philip@opensdr.com> | 2010-06-13 19:24:15 +0000 |
commit | 8869208ea8d8dfdd5fe86adc1637b93c4b390c0c (patch) | |
tree | a4346650facae73a1ad3755e609e4c31c44273df /host/apps/omap_debug/usrp-e-timed.c | |
parent | 71783634c4394e739bbc13a9bb3df7d6ab75c147 (diff) | |
download | uhd-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-timed.c')
-rw-r--r-- | host/apps/omap_debug/usrp-e-timed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/host/apps/omap_debug/usrp-e-timed.c b/host/apps/omap_debug/usrp-e-timed.c index c71651741..3cb33ce2d 100644 --- a/host/apps/omap_debug/usrp-e-timed.c +++ b/host/apps/omap_debug/usrp-e-timed.c @@ -75,7 +75,7 @@ static void *read_thread(void *threadid) } #endif - if (rx_data->flags & RB_OVERRUN) + if (rx_data->status & RB_OVERRUN) printf("O"); bytes_transfered += rx_data->len; @@ -118,7 +118,7 @@ static void *write_thread(void *threadid) // p->data[i] = random() >> 16; p->data[i] = i; - tx_data->flags = 0; + tx_data->status = 0; tx_data->len = 8 + packet_data_length * 2; printf("tx_data->len = %d\n", tx_data->len); @@ -146,7 +146,7 @@ static void *write_thread(void *threadid) } #endif -// printf("tx flags = %X, len = %d\n", tx_data->flags, tx_data->len); +// printf("tx status = %X, len = %d\n", tx_data->status, tx_data->len); p->seq_num = seq_number++; p->checksum = calc_checksum(p); cnt = write(fp, tx_data, 2048); |