/* -*- c++ -*- */
/*
- * Copyright 2007 Free Software Foundation, Inc.
+ * Copyright 2007,2008 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
#include <iostream>
#include <usrp_inband_usb_packet.h>
-#include <mb_class_registry.h>
+#include <mblock/class_registry.h>
#include <vector>
#include <usrp_usb_interface.h>
#include <fstream>
// 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());