mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
14 lines
559 B
Plaintext
14 lines
559 B
Plaintext
$NetBSD: patch-ab,v 1.2 2005/08/15 14:03:53 wulf Exp $
|
|
|
|
--- src/cpskdemodulator.cpp.orig 2005-03-13 21:42:44.000000000 +1030
|
|
+++ src/cpskdemodulator.cpp 2005-08-15 05:35:35.000000000 +0930
|
|
@@ -551,7 +551,7 @@
|
|
{
|
|
Phase_Vector=m_BitSignal*conj(Prev_Sample);
|
|
Prev_Sample = m_BitSignal;
|
|
- Phase[j++]=Phase_Vector;
|
|
+ Phase[j++]=complex<float>(Phase_Vector);
|
|
double angle = atan2(Phase_Vector.imag(),Phase_Vector.real());
|
|
DecodeSymbol( angle);
|
|
if ( (unsigned int) m_DevAve > Threshold)
|