diff options
author | Jacob Gilbert <jacob.gilbert@protonmail.com> | 2021-06-11 08:34:20 -0600 |
---|---|---|
committer | mormj <34754695+mormj@users.noreply.github.com> | 2021-07-19 06:44:24 -0400 |
commit | 98cadbf3d54176b474d8257ae0f2ae6f7c01fc3a (patch) | |
tree | 3dfcac84566b837c139f1dcad7e8093e69d51979 /gnuradio-runtime/lib | |
parent | 15a8cce4dadaa895081d1d9816f37e65117cffb5 (diff) |
pdu: Adding new blocks
Added take_skip_to_pdu block and pdu lambda blocks, needs examples still
Signed-off-by: Jacob Gilbert <jacob.gilbert@protonmail.com>
Diffstat (limited to 'gnuradio-runtime/lib')
-rw-r--r-- | gnuradio-runtime/lib/pdu.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gnuradio-runtime/lib/pdu.cc b/gnuradio-runtime/lib/pdu.cc index 0c0468419a..f860bf395d 100644 --- a/gnuradio-runtime/lib/pdu.cc +++ b/gnuradio-runtime/lib/pdu.cc @@ -15,6 +15,15 @@ #include <pmt/pmt.h> namespace gr { +namespace metadata_keys { + +const pmt::pmt_t pdu_num() +{ + static const pmt::pmt_t val = pmt::mp("pdu_num"); + return val; +} + +} /* namespace metadata_keys */ namespace msgport_names { const pmt::pmt_t bpdu() |