diff options
Diffstat (limited to 'navit/vehicle/gpsd/vehicle_gpsd.c')
-rw-r--r-- | navit/vehicle/gpsd/vehicle_gpsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/vehicle/gpsd/vehicle_gpsd.c b/navit/vehicle/gpsd/vehicle_gpsd.c index 4746b2195..dc2efd9eb 100644 --- a/navit/vehicle/gpsd/vehicle_gpsd.c +++ b/navit/vehicle/gpsd/vehicle_gpsd.c @@ -325,7 +325,7 @@ static void vehicle_gpsd_io(struct vehicle_priv *priv) { int read_result; /* Read until EOF, in case we are lagging behind. * No point in processing old GPS reports. */ -#if GPSD_API_MAJOR_VERSION >= 7 /* API change. gpsd verion 3.18 and subsequent. */ +#if GPSD_API_MAJOR_VERSION >= 7 /* API change. gpsd version 3.18 and subsequent. */ while((read_result=gps_read(priv->gps,NULL,0))>0); #else /* GPSD_API_MAJOR_VERSION >= 7 */ while((read_result=gps_read(priv->gps))>0); |