1. Minor corrections to plotter.cpop and widegraph.cpp.

2. New algorithm for 'sync9'.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3267 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2013-05-14 17:42:25 +00:00
parent 9ba06408b2
commit a0eb456a4f
5 changed files with 30 additions and 33 deletions
+2 -1
View File
@@ -113,7 +113,8 @@ void CPlotter::draw(float swide[], float red[], int i0) //draw()
strong=true;
swide[i]=-swide[i];
}
y = 10.0*log10(swide[i]);
y=0.0;
if(swide[i]>0.0) y = 10.0*log10(swide[i]);
int y1 = 5.0*gain*y + 10*m_plotZero;
if (y1<0) y1=0;
if (y1>254) y1=254;