aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/types.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-09 17:35:15 -0700
committerJosh Blum <josh@joshknows.com>2010-07-09 17:35:15 -0700
commitbf77d1f6e38e1cb561520408ecff8f633f5cefc7 (patch)
treebdf9efe00dd25f542d5ca301136fe64c2108149b /host/lib/types.cpp
parentecd7308793ad639880faf2a44f3b8b603d87c7fd (diff)
downloaduhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.tar.gz
uhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.tar.bz2
uhd-bf77d1f6e38e1cb561520408ecff8f633f5cefc7.zip
uhd: added error codes to rx metadata, switched examples to use
vrt packet handler fills in error codes and inspects non-data packet
Diffstat (limited to 'host/lib/types.cpp')
-rw-r--r--host/lib/types.cpp3
1 files changed, 2 insertions, 1 deletions
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 */
}