From 0f7aed6197ebe1b59d754e0cab7ba945f2231435 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 4 Nov 2021 03:09:26 -0500 Subject: Fix typo in GPS_LINE variable --- recipes-navigation/gpsd/gpsd/gpsd-default | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3