commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 03/03: fec: cleanup


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/03: fec: cleanup
Date: Mon, 29 Dec 2014 18:30:07 +0000 (UTC)

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

trondeau pushed a commit to branch maint
in repository gnuradio.

commit b508945c8096a778a171ee70fe769d97924e4978
Author: Tom Rondeau <address@hidden>
Date:   Mon Dec 29 12:24:49 2014 -0500

    fec: cleanup
---
 gr-fec/include/gnuradio/fec/dummy_decoder.h | 1 +
 gr-fec/lib/decoder_impl.cc                  | 4 +++-
 gr-fec/lib/encoder_impl.cc                  | 8 ++++++--
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/gr-fec/include/gnuradio/fec/dummy_decoder.h 
b/gr-fec/include/gnuradio/fec/dummy_decoder.h
index 071b571..0561803 100644
--- a/gr-fec/include/gnuradio/fec/dummy_decoder.h
+++ b/gr-fec/include/gnuradio/fec/dummy_decoder.h
@@ -67,6 +67,7 @@ namespace gr {
          * Returns the coding rate of this encoder (it will always be 1).
          */
         virtual double rate() = 0;
+
       };
 
     } /* namespace code */
diff --git a/gr-fec/lib/decoder_impl.cc b/gr-fec/lib/decoder_impl.cc
index ba8a7d0..38d5643 100644
--- a/gr-fec/lib/decoder_impl.cc
+++ b/gr-fec/lib/decoder_impl.cc
@@ -95,8 +95,10 @@ namespace gr {
        noutput_items/(output_multiple() - d_decoder->get_history()) :
        innum;
 
-      GR_LOG_DEBUG(d_debug_logger, boost::format("%1%, %2%, %3%")      \
+      /*
+      GR_LOG_DEBUG(d_debug_logger, boost::format("%1%, %2%, %3%")     \
                    % outnum % ninput_items[0] % items);
+      */
 
       for(int i = 0; i < items; ++i) {
         
d_decoder->generic_work((void*)(in+(i*d_decoder->get_input_size()*d_input_item_size)),
diff --git a/gr-fec/lib/encoder_impl.cc b/gr-fec/lib/encoder_impl.cc
index 399bcc4..31f56ea 100644
--- a/gr-fec/lib/encoder_impl.cc
+++ b/gr-fec/lib/encoder_impl.cc
@@ -91,8 +91,10 @@ namespace gr {
       char *inbuffer  = (char*)input_items[0];
       char *outbuffer = (char*)output_items[0];
 
-      GR_LOG_DEBUG(d_debug_logger, boost::format("%1%, %2%, %3%")      \
+      /*
+      GR_LOG_DEBUG(d_debug_logger, boost::format("%1%, %2%, %3%")     \
                    % noutput_items % ninput_items[0] % 
(noutput_items/output_multiple()));
+      */
 
 
       for(int i = 0; i < noutput_items/output_multiple(); i++) {
@@ -100,10 +102,12 @@ namespace gr {
                                 (void*)(outbuffer+(i*d_output_size)));
       }
 
-      GR_LOG_DEBUG(d_debug_logger, boost::format("consuming: %1%") \
+      /*
+      GR_LOG_DEBUG(d_debug_logger, boost::format("consuming: %1%")    \
                    % (fixed_rate_noutput_to_ninput(noutput_items)));
       GR_LOG_DEBUG(d_debug_logger, boost::format("returning: %1%") \
                    % (noutput_items));
+      */
 
       consume_each(fixed_rate_noutput_to_ninput(noutput_items));
       return noutput_items;



reply via email to

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