summaryrefslogtreecommitdiff
path: root/gr-noaa/lib/noaa_hrpt_decoder.cc
diff options
context:
space:
mode:
authorJohnathan Corgan2009-09-23 11:40:19 -0700
committerJohnathan Corgan2009-09-23 11:40:19 -0700
commit7c4b43a1a4b3ff6c99fe96805f8d4518a22eb0a5 (patch)
tree9bfc7d87670bf2c534cad9e44dc6ed9bac5f40b3 /gr-noaa/lib/noaa_hrpt_decoder.cc
parent751e1a0608cb51525f78fe5476be46ef6e461774 (diff)
downloadgnuradio-7c4b43a1a4b3ff6c99fe96805f8d4518a22eb0a5.tar.gz
gnuradio-7c4b43a1a4b3ff6c99fe96805f8d4518a22eb0a5.tar.bz2
gnuradio-7c4b43a1a4b3ff6c99fe96805f8d4518a22eb0a5.zip
Split HRPT script into live receive and post-processing
Cleanup debug info Created 'demod_hrpt_file.py' Updated 'usrp_rx_hrpt.py' with GUI, USRP, and config file
Diffstat (limited to 'gr-noaa/lib/noaa_hrpt_decoder.cc')
-rw-r--r--gr-noaa/lib/noaa_hrpt_decoder.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-noaa/lib/noaa_hrpt_decoder.cc b/gr-noaa/lib/noaa_hrpt_decoder.cc
index 4fae0173d..8cfaa913c 100644
--- a/gr-noaa/lib/noaa_hrpt_decoder.cc
+++ b/gr-noaa/lib/noaa_hrpt_decoder.cc
@@ -59,17 +59,17 @@ noaa_hrpt_decoder::work(int noutput_items,
while (i < noutput_items) {
unsigned short word = in[i++];
d_word_count++;
- fprintf(stderr, "%5u: ", d_word_count);
+ //fprintf(stderr, "%5u: ", d_word_count);
for (int pos = 0; pos < 10; pos++) {
char ch = (word & (1 << 9)) ? '1' : '0';
word = word << 1;
- fprintf(stderr, "%c ", ch);
+ //fprintf(stderr, "%c ", ch);
}
- fprintf(stderr, "\n");
+ //fprintf(stderr, "\n");
if (d_word_count == 11090) {
d_word_count = 0;
- fprintf(stderr, "\n");
+ //fprintf(stderr, "\n");
}
}