[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4247 - gnuradio/branches/developers/trondeau/digital-
From: |
trondeau |
Subject: |
[Commit-gnuradio] r4247 - gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general |
Date: |
Sun, 7 Jan 2007 11:30:43 -0700 (MST) |
Author: trondeau
Date: 2007-01-07 11:30:43 -0700 (Sun, 07 Jan 2007)
New Revision: 4247
Modified:
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
Log:
added use of VERBOSE for diagnostics in correlate access code
Modified:
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
===================================================================
---
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
2007-01-07 18:29:38 UTC (rev 4246)
+++
gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general/gr_correlate_access_code_bb.cc
2007-01-07 18:30:43 UTC (rev 4247)
@@ -110,12 +110,12 @@
//new_flag = (nwrong <= d_threshold) || (nwrong >= (64-d_threshold));
new_flag = (nwrong <= d_threshold);
-#if 0
+#if VERBOSE
if(new_flag) {
- fprintf("access code found (%llx)\n", d_access_code);
+ fprintf(stderr, "access code found: %llx\n", d_access_code);
}
else {
- printf("%llx ==> %llx\n", d_access_code, d_data_reg);
+ fprintf(stderr, "%llx ==> %llx\n", d_access_code, d_data_reg);
}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4247 - gnuradio/branches/developers/trondeau/digital-wip2/gnuradio-core/src/lib/general,
trondeau <=