diff options
author | John Klug <john.klug@multitech.com> | 2021-03-02 11:24:33 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-03-02 11:28:24 -0600 |
commit | 332829b43768a6788417bafe600efe31a19259e7 (patch) | |
tree | 46eca09d37690cf6b201453deb1a27c554337b64 | |
parent | 64631b5fe2558bdb1efcf01ed287527dbb2bbaee (diff) | |
download | meta-mlinux-332829b43768a6788417bafe600efe31a19259e7.tar.gz meta-mlinux-332829b43768a6788417bafe600efe31a19259e7.tar.bz2 meta-mlinux-332829b43768a6788417bafe600efe31a19259e7.zip |
Remove extra LNA setting for MTHS
-rwxr-xr-x | recipes-navigation/gpsd/gpsd/gpsd-default | 8 |
1 files changed, 0 insertions, 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 |