commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r10944 - gnuradio/trunk/grc/src/grc_gnuradio/blks2


From: jblum
Subject: [Commit-gnuradio] r10944 - gnuradio/trunk/grc/src/grc_gnuradio/blks2
Date: Fri, 1 May 2009 14:44:22 -0600 (MDT)

Author: jblum
Date: 2009-05-01 14:44:21 -0600 (Fri, 01 May 2009)
New Revision: 10944

Modified:
   gnuradio/trunk/grc/src/grc_gnuradio/blks2/packet.py
Log:
Remove some uses of kludge_copy from r10879 and ticket:161

Modified: gnuradio/trunk/grc/src/grc_gnuradio/blks2/packet.py
===================================================================
--- gnuradio/trunk/grc/src/grc_gnuradio/blks2/packet.py 2009-05-01 20:39:31 UTC 
(rev 10943)
+++ gnuradio/trunk/grc/src/grc_gnuradio/blks2/packet.py 2009-05-01 20:44:21 UTC 
(rev 10944)
@@ -193,10 +193,9 @@
                #create blocks
                msgq = gr.msg_queue(DEFAULT_MSGQ_LIMIT)
                msg_sink = gr.message_sink(self._item_size_in, msgq, False) 
#False -> blocking
-               copy = 
gr.kludge_copy(packet_source._hb.output_signature().sizeof_stream_item(0))
                #connect
                self.connect(self, msg_sink)
-               self.connect(packet_source, copy, self)
+               self.connect(packet_source, self)
                #start thread
                _packet_encoder_thread(msgq, payload_length, 
packet_source.send_pkt)
 
@@ -225,9 +224,8 @@
                #create blocks
                msg_source = gr.message_source(self._item_size_out, 
DEFAULT_MSGQ_LIMIT)
                self._msgq_out = msg_source.msgq()
-               copy = 
gr.kludge_copy(packet_sink._hb.input_signature().sizeof_stream_item(0))
                #connect
-               self.connect(self, copy, packet_sink)
+               self.connect(self, packet_sink)
                self.connect(msg_source, self)
                if packet_sink._hb.output_signature().sizeof_stream_item(0):
                        self.connect(packet_sink, 
gr.null_sink(packet_sink._hb.output_signature().sizeof_stream_item(0)))





reply via email to

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