diff --git a/gr-jay/lib/preamble_sync_impl.cc b/gr-jay/lib/preamble_sync_impl.cc index e7103ec..84bafcc 100644 --- a/gr-jay/lib/preamble_sync_impl.cc +++ b/gr-jay/lib/preamble_sync_impl.cc @@ -204,6 +204,7 @@ int preamble_sync_impl::general_work (int noutput_items, gr_vector_int &ninput_i consume_each (i); // Tell runtime system how many output items we produced. + dec.process(out, j); return j; } diff --git a/gr-jay/lib/preamble_sync_impl.h b/gr-jay/lib/preamble_sync_impl.h index 1a98095..a59b647 100644 --- a/gr-jay/lib/preamble_sync_impl.h +++ b/gr-jay/lib/preamble_sync_impl.h @@ -22,6 +22,7 @@ #define INCLUDED_JAY_PREAMBLE_SYNC_IMPL_H #include +#include "PocsagDecoder.hpp" namespace gr { @@ -51,7 +52,8 @@ class preamble_sync_impl : public preamble_sync size_t m_wordCount; size_t m_wordSize; size_t m_dataCount; - + + PocsagDecoder dec; public: preamble_sync_impl(); ~preamble_sync_impl();