discuss-gnuradio
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Discuss-gnuradio] Bug in 'gr_tagged_file_sink.cc'
From
:
Daniel Bartel
Subject
:
[Discuss-gnuradio] Bug in 'gr_tagged_file_sink.cc'
Date
:
Wed, 07 Sep 2011 11:16:26 +0200
Hi,
I found a bug in the
'gr_tagged_file_sink.cc' file during my work on a burst detection.
Line 203 should be changed to
:
203 int count = fwrite (&inbuf[d_itemsize*idx], d_itemsize, noutput_items-idx, d_handle);
The original code was:
202 if(d_state == IN_BURST) {
203 int count = fwrite (&inbuf[idx], d_itemsize, noutput_items-idx, d_handle);
204 if (count == 0) {
205 if(ferror(d_handle)) {
206 perror("gr_tagged_file_sink: error writing file");
207 }
208 }
209 idx = noutput_items;
210 }
Daniel
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Discuss-gnuradio] Bug in 'gr_tagged_file_sink.cc'
,
Daniel Bartel
<=
Re: [Discuss-gnuradio] Bug in 'gr_tagged_file_sink.cc'
,
Tom Rondeau
,
2011/09/09
Prev by Date:
Re: [Discuss-gnuradio] Getting USRP N210 running
Next by Date:
[Discuss-gnuradio] How to reconfigure automatically the channel used to received data in USRPs
Previous by thread:
Re: [Discuss-gnuradio] Getting USRP N210 running
Next by thread:
Re: [Discuss-gnuradio] Bug in 'gr_tagged_file_sink.cc'
Index(es):
Date
Thread