[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4534 - gnuradio/branches/developers/n4hy/ofdm/gnuradi
From: |
trondeau |
Subject: |
[Commit-gnuradio] r4534 - gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general |
Date: |
Tue, 20 Feb 2007 09:57:57 -0700 (MST) |
Author: trondeau
Date: 2007-02-20 09:57:57 -0700 (Tue, 20 Feb 2007)
New Revision: 4534
Modified:
gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
Log:
set to work with the CP peak detection
Modified:
gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
===================================================================
---
gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
2007-02-20 16:25:47 UTC (rev 4533)
+++
gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general/gr_ofdm_sampler.cc
2007-02-20 16:57:57 UTC (rev 4534)
@@ -86,7 +86,7 @@
#endif
while(i<d_symbol_length+d_fft_length && (found==0)) {
-#if 0
+#if 1
if( (theta[i].real() > d_avg*0.25) &&
(theta[i].real() > theta[i+1].real()) ) {
found = 1;
@@ -94,6 +94,7 @@
if(theta[i+j].real() > theta[i].real()) {
found = 0;
d_phase += d_freq;
+ printf("%f\n", epsilon[i].real());
i++;
break;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4534 - gnuradio/branches/developers/n4hy/ofdm/gnuradio-core/src/lib/general,
trondeau <=