GPS GNSS
Dependencies: Vector3
Diff: GPS_HAPS.cpp
- Revision:
- 2:abd509e1f4d1
- Parent:
- 1:543687550091
- Child:
- 3:b0d594e5d9e2
--- a/GPS_HAPS.cpp Tue Sep 07 06:35:58 2021 +0000 +++ b/GPS_HAPS.cpp Tue Sep 07 06:58:56 2021 +0000 @@ -113,7 +113,7 @@ Minutes = (int(time) % 10000) / 100; Seconds = int(time) % 100; Milliseconds = (int)(((time - (Hours*10000+Minutes*100+Seconds)))/0.001f); - Time = Hours*86400000+Minutes*3600000+Seconds*1000+Milliseconds; + Time = Hours*3600000+Minutes*60000+Seconds*1000+Milliseconds; Speed = speed * 0.514444f; Year = date % 100; date /= 100;