summaryrefslogtreecommitdiff
path: root/vrt/lib/rx.cc
diff options
context:
space:
mode:
authorEric Blossom2010-09-25 16:08:51 -0700
committerEric Blossom2010-09-27 14:56:43 -0700
commit18f1ab2e746c93108add92098333b90c8a3423c5 (patch)
tree2dd2c99216d0886b78b656788a512657e9f243b9 /vrt/lib/rx.cc
parentbb2d127c085d1bf2910407334d67cb666284cf2b (diff)
downloadgnuradio-18f1ab2e746c93108add92098333b90c8a3423c5.tar.gz
gnuradio-18f1ab2e746c93108add92098333b90c8a3423c5.tar.bz2
gnuradio-18f1ab2e746c93108add92098333b90c8a3423c5.zip
s/unparse/pack/; s/parse/unpack/
Diffstat (limited to 'vrt/lib/rx.cc')
-rw-r--r--vrt/lib/rx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vrt/lib/rx.cc b/vrt/lib/rx.cc
index 2d741e908..ca1be9fa4 100644
--- a/vrt/lib/rx.cc
+++ b/vrt/lib/rx.cc
@@ -97,8 +97,8 @@ namespace vrt {
const uint32_t *payload;
size_t n32_bit_words;
expanded_header hdr;
- if (!expanded_header::parse(word_base, word_len,
- &hdr, &payload, &n32_bit_words)){
+ if (!expanded_header::unpack(word_base, word_len,
+ &hdr, &payload, &n32_bit_words)){
if (1){
fprintf(stderr, "vrt_data_handler: malformed VRT packet!\n");
print_words(stderr, 0, word_base, word_len);