1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-29 05:33:05 +01:00

Fix for HDM

This commit is contained in:
norbert-walter
2025-12-06 18:14:55 +01:00
parent fe78fb434b
commit 6edf847958

View File

@@ -208,8 +208,8 @@ public:
}
// HDM value (Magnetic Heading)
if(valid4){
magneticHeading = value4;
value4old = value4;
magneticHeading = (value4 * 360) / (2 * PI);
value4old = magneticHeading;
}
else{
speedOverGround = value4old;