diff options
Diffstat (limited to 'recipes-navigation')
-rw-r--r-- | recipes-navigation/gpsd/gpsd/gpsd-default | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default index c8c6f17..4c92ea2 100644 --- a/recipes-navigation/gpsd/gpsd/gpsd-default +++ b/recipes-navigation/gpsd/gpsd/gpsd-default @@ -58,7 +58,7 @@ if [[ $(cat /run/config/gpstype) == u-blox ]] ; then # If the U-Blox is connected via USB, it shows # up as using the ACM serial driver. This greatly # simplifies setting up the U-Blox GNSS. - if [[ $(readlink $GPS_LINE0) =~ ^ttyACM ]] ; then + if [[ $(readlink $GPS_LINE) =~ ^ttyACM ]] ; then stty -F $GPS_LINE 115200 return 0 fi |