correct formatWind
This commit is contained in:
parent
3745a79afd
commit
82b6c86247
|
@ -425,7 +425,7 @@ double formatWind(double cv)
|
||||||
{
|
{
|
||||||
double rt = formatCourse(cv);
|
double rt = formatCourse(cv);
|
||||||
if (rt > 180)
|
if (rt > 180)
|
||||||
rt = 180 - rt;
|
rt = -1 * (360 - rt);
|
||||||
return rt;
|
return rt;
|
||||||
}
|
}
|
||||||
double formatKnots(double cv)
|
double formatKnots(double cv)
|
||||||
|
|
Loading…
Reference in New Issue