mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-12 13:33:06 +01:00
correct formatWind
This commit is contained in:
@@ -425,7 +425,7 @@ double formatWind(double cv)
|
||||
{
|
||||
double rt = formatCourse(cv);
|
||||
if (rt > 180)
|
||||
rt = 180 - rt;
|
||||
rt = -1 * (360 - rt);
|
||||
return rt;
|
||||
}
|
||||
double formatKnots(double cv)
|
||||
|
||||
Reference in New Issue
Block a user