Merge branch 'wellenvogel:master' into master

This commit is contained in:
norbert-walter 2022-01-09 16:17:50 +01:00 committed by GitHub
commit f63c903b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)