summaryrefslogtreecommitdiff
path: root/comms/gmfsk/files/patch-src_mt63_dsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'comms/gmfsk/files/patch-src_mt63_dsp.h')
-rw-r--r--comms/gmfsk/files/patch-src_mt63_dsp.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/gmfsk/files/patch-src_mt63_dsp.h b/comms/gmfsk/files/patch-src_mt63_dsp.h
new file mode 100644
index 000000000000..b5c4459cd6de
--- /dev/null
+++ b/comms/gmfsk/files/patch-src_mt63_dsp.h
@@ -0,0 +1,22 @@
+--- src/mt63/dsp.h.orig Thu Sep 23 16:05:14 2004
++++ src/mt63/dsp.h Thu Sep 23 16:09:10 2004
+@@ -846,7 +846,7 @@
+ Sum = Elem.Mid + Elem.Out;
+ Diff = Elem.Mid - Elem.Out;
+ Elem.Mid += W2 * Inp - W1 * Sum;
+- Out += W5 * Diff;
++ Elem.Out += W5 * Diff;
+ }
+
+ template < class typeInp >
+@@ -856,8 +856,8 @@
+ double Sum, Diff;
+ Sum = Elem.Mid + Elem.Out;
+ Diff = Elem.Mid - Elem.Out;
+- Elem.Mid += Weight.W2 * Inp - Weigth.W1 * Sum;
+- Out += Weight.W5 * Diff;
++ Elem.Mid += Weight.W2 * Inp - Weight.W1 * Sum;
++ Elem.Out += Weight.W5 * Diff;
+ }
+
+ /*