mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-09 01:14:51 -04:00
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:
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user