commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 20/24: digital: fixed packet_parse from usi


From: git
Subject: [Commit-gnuradio] [gnuradio] 20/24: digital: fixed packet_parse from using default formatter to base class
Date: Tue, 14 Jun 2016 00:41:02 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch packet2
in repository gnuradio.

commit f3a63d2aeac164ee7fe07d907999a202350f7798
Author: Tom Rondeau <address@hidden>
Date:   Wed Apr 27 17:42:41 2016 -0400

    digital: fixed packet_parse from using default formatter to base class
---
 gr-digital/include/gnuradio/digital/packet_parse_b.h | 6 +++---
 gr-digital/lib/packet_parse_b_impl.h                 | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gr-digital/include/gnuradio/digital/packet_parse_b.h 
b/gr-digital/include/gnuradio/digital/packet_parse_b.h
index f0dee06..fe7681b 100644
--- a/gr-digital/include/gnuradio/digital/packet_parse_b.h
+++ b/gr-digital/include/gnuradio/digital/packet_parse_b.h
@@ -25,7 +25,7 @@
 #define INCLUDED_DIGITAL_PACKET_PARSE_B_H
 
 #include <gnuradio/digital/api.h>
-#include <gnuradio/digital/packet_formatter_default.h>
+#include <gnuradio/digital/packet_formatter_base.h>
 #include <gnuradio/sync_block.h>
 
 namespace gr {
@@ -45,7 +45,7 @@ namespace gr {
      * code as a sync word to find the start of a frame.
      *
      * The block uses a formatter derived from a
-     * packet_formatter_default formatter class.
+     * packet_formatter_base formatter class.
      *
      * Once the frame is detected (usually through the use of an
      * access code), the block uses the formatter's parser to decode
@@ -71,7 +71,7 @@ namespace gr {
        * \param formatter The formatter class to use when reading the
        *        header.
        */
-      static sptr make(const packet_formatter_default::sptr &formatter);
+      static sptr make(const packet_formatter_base::sptr &formatter);
     };
 
   } // namespace digital
diff --git a/gr-digital/lib/packet_parse_b_impl.h 
b/gr-digital/lib/packet_parse_b_impl.h
index 5a78187..8fc039e 100644
--- a/gr-digital/lib/packet_parse_b_impl.h
+++ b/gr-digital/lib/packet_parse_b_impl.h
@@ -31,11 +31,11 @@ namespace gr {
     class packet_parse_b_impl : public packet_parse_b
     {
      private:
-      packet_formatter_default::sptr d_formatter;
+      packet_formatter_base::sptr d_formatter;
       pmt::pmt_t d_out_port;
 
      public:
-      packet_parse_b_impl(const packet_formatter_default::sptr &formatter);
+      packet_parse_b_impl(const packet_formatter_base::sptr &formatter);
       ~packet_parse_b_impl();
 
       void set_threshold(unsigned int thresh);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]