We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 454a9f1 commit e0ba079Copy full SHA for e0ba079
Firmware/RTK_Everywhere/UM980.ino
@@ -672,6 +672,12 @@ float um980GetHorizontalAccuracy()
672
float latitudeDeviation = um980->getLatitudeDeviation();
673
float longitudeDeviation = um980->getLongitudeDeviation();
674
675
+ // The binary message may contain all 0xFFs leading to a very large negative number.
676
+ if (longitudeDeviation < -0.01)
677
+ longitudeDeviation = 50.0;
678
+ if (latitudeDeviation < -0.01)
679
+ latitudeDeviation = 50.0;
680
+
681
if (longitudeDeviation < latitudeDeviation)
682
return (longitudeDeviation);
683
0 commit comments