[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 02/09: Fixing `Sdot` calculation in `fmdet_
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 02/09: Fixing `Sdot` calculation in `fmdet_cf_impl` `work()` |
Date: |
Thu, 28 Jul 2016 21:43:59 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 7c9f29519b709c432284fb6481842f03809ac594
Author: Ben Hilburn <address@hidden>
Date: Thu Jul 14 10:18:21 2016 -0400
Fixing `Sdot` calculation in `fmdet_cf_impl` `work()`
Bug reported on-list. Current code actually results in the S1 terms simply
canceling each other, whereas the second term should be S2.
---
gr-analog/lib/fmdet_cf_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-analog/lib/fmdet_cf_impl.cc b/gr-analog/lib/fmdet_cf_impl.cc
index 2c48ff0..38496d1 100644
--- a/gr-analog/lib/fmdet_cf_impl.cc
+++ b/gr-analog/lib/fmdet_cf_impl.cc
@@ -106,7 +106,7 @@ namespace gr {
while(size-- > 0) {
S0 = *iptr++;
- Sdot = d_scl * (-S0+d_8*S1-d_8*S1+S4);
+ Sdot = d_scl * (-S0+d_8*S1-d_8*S2+S4);
d_freq = (S2.real()*Sdot.imag()-S2.imag()*Sdot.real()) /
(S2.real()*S2.real()+S2.imag()*S2.imag());
- [Commit-gnuradio] [gnuradio] branch maint updated (3e1a92f -> 05bdf36), git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 08/09: Merge remote-tracking branch 'bhilburn/fix-fmdet-cf-impl' into maint, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 05/09: grc: fix docstring update handler, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 09/09: Merge remote-tracking branch 'chrstphrchvz/maint' into maint, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 07/09: Merge remote-tracking branch 'slarew/sgl/maint/gslfix' into maint, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 04/09: blocks: fix typo, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 01/09: Fix linking GSL in gr-fec, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 03/09: qtgui: fix spelling, git, 2016/07/28
- [Commit-gnuradio] [gnuradio] 02/09: Fixing `Sdot` calculation in `fmdet_cf_impl` `work()`,
git <=
- [Commit-gnuradio] [gnuradio] 06/09: grc: fix handling of initially opened files, git, 2016/07/28