From addb3853f5f208bf1558e2cc229163347e3883fd Mon Sep 17 00:00:00 2001 From: Norbert Walter Date: Sun, 9 Jan 2022 16:17:31 +0100 Subject: [PATCH] Change back to old status --- lib/boatData/GwBoatData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/boatData/GwBoatData.cpp b/lib/boatData/GwBoatData.cpp index 9b33bbf..91d1bc2 100644 --- a/lib/boatData/GwBoatData.cpp +++ b/lib/boatData/GwBoatData.cpp @@ -425,7 +425,7 @@ double formatWind(double cv) { double rt = formatCourse(cv); if (rt > 180) - rt = (360 - rt) * -1; + rt = 180 - rt; return rt; } double formatKnots(double cv)