From dd9f689df1cfbe9b6bda7ec0b224ff1c2064b62f Mon Sep 17 00:00:00 2001 From: Geoff Garside Date: Thu, 22 Mar 2018 06:44:54 +0000 Subject: [PATCH] Fix compatibility with github.com/adrianmo/go-nmea#13 So far only the compile issue has been resolved. No investigation has been performed into the behaviour of the gps module. --- modules/gps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gps.go b/modules/gps.go index e76c5ceb..f20cc209 100644 --- a/modules/gps.go +++ b/modules/gps.go @@ -130,7 +130,7 @@ func (gps *GPS) Start() error { for gps.Running() { if line, err := gps.readLine(); err == nil { if info, err := nmea.Parse(line); err == nil { - s := info.GetSentence() + s := info.Sentence() // http://aprs.gids.nl/nmea/#gga if s.Type == "GNGGA" { gps.Session.GPS = info.(nmea.GNGGA)