Revision 83c463d0 host/lib/usrp/usrp2/io_impl.cpp
| b/host/lib/usrp/usrp2/io_impl.cpp | ||
|---|---|---|
| 149 | 149 |
//handle the packet count / sequence number |
| 150 | 150 |
size_t expected_packet_count = _rx_stream_id_to_packet_seq[metadata.stream_id]; |
| 151 | 151 |
if (packet_count_out != expected_packet_count){
|
| 152 |
std::cerr << "bad packet count: " << packet_count_out << std::endl;
|
|
| 152 |
std::cerr << "S" << (packet_count_out - expected_packet_count)%16;
|
|
| 153 | 153 |
} |
| 154 | 154 |
_rx_stream_id_to_packet_seq[metadata.stream_id] = (packet_count_out+1)%16; |
| 155 | 155 |
|
Also available in: Unified diff