From e0717886818fd2a4212301273939b0d2f4a4a2dd Mon Sep 17 00:00:00 2001 From: evilsocket Date: Thu, 22 Mar 2018 11:53:28 +0100 Subject: [PATCH] fix: updated gps module to reflect latest changes in nmea package --- modules/gps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gps.go b/modules/gps.go index f20cc209..50ee1ed0 100644 --- a/modules/gps.go +++ b/modules/gps.go @@ -106,7 +106,7 @@ func (gps *GPS) readLine() (line string, err error) { } func (gps *GPS) Show() error { - fmt.Printf("latitude:%f longitude:%f quality:%s satellites:%s altitude:%s\n", + fmt.Printf("latitude:%f longitude:%f quality:%s satellites:%d altitude:%f\n", gps.Session.GPS.Latitude, gps.Session.GPS.Longitude, gps.Session.GPS.FixQuality,