projects
/
project
/
ugps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix ms->deg conversion
[project/ugps.git]
/
nmea.c
diff --git
a/nmea.c
b/nmea.c
index
9c4bde8
..
31e0168
100644
(file)
--- a/
nmea.c
+++ b/
nmea.c
@@
-139,7
+139,7
@@
nmea_rmc_cb(void)
flngs *= 60;
flngs /= 10000;
-#define ms_to_deg(x, y) (((x * 10000) + y) / 60)
+#define ms_to_deg(x, y) (((x * 10000
00
) + y) / 60)
DEBUG(4, "position: %d°%d.%04d, %d°%d.%04d\n",
latd, latm, lats, lngd, lngm, lngs);