From bf77d1f6e38e1cb561520408ecff8f633f5cefc7 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 9 Jul 2010 17:35:15 -0700 Subject: uhd: added error codes to rx metadata, switched examples to use vrt packet handler fills in error codes and inspects non-data packet --- host/lib/types.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/lib/types.cpp') diff --git a/host/lib/types.cpp b/host/lib/types.cpp index 1e7917ad7..e0ce61058 100644 --- a/host/lib/types.cpp +++ b/host/lib/types.cpp @@ -101,7 +101,8 @@ rx_metadata_t::rx_metadata_t(void): more_fragments(false), fragment_offset(0), start_of_burst(false), - end_of_burst(false) + end_of_burst(false), + error_code(ERROR_CODE_NONE) { /* NOP */ } -- cgit v1.2.3