From dfd215c4b1c515819b64867b9537bbcff9da62a3 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 2 Mar 2021 11:24:33 -0600 Subject: Remove extra LNA setting for MTHS --- recipes-navigation/gpsd/gpsd/gpsd-default | 8 -------- 1 file changed, 8 deletions(-) diff --git a/recipes-navigation/gpsd/gpsd/gpsd-default b/recipes-navigation/gpsd/gpsd/gpsd-default index 4389c6c..f6995fc 100755 --- a/recipes-navigation/gpsd/gpsd/gpsd-default +++ b/recipes-navigation/gpsd/gpsd/gpsd-default @@ -53,14 +53,6 @@ GPSFIX="3" # function SET_GPS_SPEED { -if [[ $(mts-io-sysfs show hw-version) =~ ^MTHS- ]] ; then - if gpsctl -t 'u-blox' -D 5 -x '\x06\x41\x00\x00\x03\x1F\x90\x47\x4F\xB1\xFF\xFF\xEA\xFF' $GPS_LINE ; then - logger -s -t 'gpsd info' -p daemon.info "GPS LNA set high" - else - logger -s -t 'gpsd info' -p daemon.alert "ERROR: GPS LNA not set" - fi -fi - ((maxtries = 10)) if [[ $(cat /run/config/gpstype) == u-blox ]] ; then while ((maxtries > 0)) ; do -- cgit v1.2.3