Fix:core: Fix for vehicles not routing until position is set with the GUI. |
authorsteven_s <steven_s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 1 Nov 2008 02:48:32 +0000 (02:48 +0000)
committersteven_s <steven_s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Sat, 1 Nov 2008 02:48:32 +0000 (02:48 +0000)
commitdd0f0bec214b4291841a3b6c88a4f43754e7cb82
tree33e499533c76489f717134359f81d595afc5aa6f
parent26e45be7972c88d4b1c063c3503960e1371c6db7
Fix:core: Fix for vehicles not routing until position is set with the GUI. |
If navit was started before the gps daemon was running vehicle_gpsd would
report the vehicle as active=0 so navit->vehcile would be null.
We now report the active status based on the attribute value not the
current status of the gps link.
Same applies to vehicle_file and vehicle_gypsy

git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1626 ffa7fe5e-494d-0410-b361-a75ebd5db220
navit/navit/vehicle/file/vehicle_file.c
navit/navit/vehicle/gpsd/vehicle_gpsd.c
navit/navit/vehicle/gypsy/vehicle_gypsy.c