mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: updated gps module to reflect latest changes in nmea package
This commit is contained in:
parent
ec28d73ba7
commit
e071788681
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue