diff options
author | eb | 2007-09-05 21:33:05 +0000 |
---|---|---|
committer | eb | 2007-09-05 21:33:05 +0000 |
commit | c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534 (patch) | |
tree | bfeb3da1e2ae14b727a4c88f53b5a79ef396da8f /usrp/host/apps-inband/read_packets.cc | |
parent | 73b85d7840a0694b9deafc75e081dd67cb935169 (diff) | |
download | gnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.tar.gz gnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.tar.bz2 gnuradio-c274ae3e2f2891fb7f6c5f5360d91ee94d8ce534.zip |
Merged George's changes from features/inband-usb r6309:6325 into trunk.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6327 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp/host/apps-inband/read_packets.cc')
-rw-r--r-- | usrp/host/apps-inband/read_packets.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usrp/host/apps-inband/read_packets.cc b/usrp/host/apps-inband/read_packets.cc index 92d8baf0d..3d112d98f 100644 --- a/usrp/host/apps-inband/read_packets.cc +++ b/usrp/host/apps-inband/read_packets.cc @@ -73,6 +73,12 @@ int main(int argc, char *argv[]) { // if(pkt->carrier_sense()) // printf("\tcarrier sense\n"); + if(pkt->underrun()) + printf("\tunderrun\n"); + + if(pkt->overrun()) + printf("\toverrun\n"); + printf("\tchannel: \t0x%x\n", pkt->chan()); printf("\ttimestamp: \t0x%x\n", pkt->timestamp()); //printf("\ttimestamp: \t%u\n", pkt->timestamp()); |