summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-02-19 12:55:50 -0600
committerJohn Klug <john.klug@multitech.com>2019-07-03 11:22:01 -0500
commit7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2 (patch)
treebdc5525b2c053f6e0e5a1cf02d96434612b9035b /recipes-bsp/multitech/mts-io
parentbd282b9ca665b7cd7bb7269fb565634669ac5fc6 (diff)
downloadmeta-multitech-7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2.tar.gz
meta-multitech-7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2.tar.bz2
meta-multitech-7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2.zip
Only MTRV1-0.0 of MTRV1 Uses /dev/ttyS1
Diffstat (limited to 'recipes-bsp/multitech/mts-io')
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index 705f84d..3919fcf 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -220,7 +220,9 @@ set_gpslink() {
if ! [[ ${hw_name} =~ ^MTCDTIPHP$ ]] && ((gpscap == 0)) ; then
return
fi
- if [[ ${hw} == MTRV1-0.2 ]] ; then
+
+ # Oldest MTRV1 uses venuse on ttyS1.
+ if [[ ${hw_name} == MTRV1 ]] && [[ ${hw} != MTRV1-0.0 ]] ; then
ln -sf /dev/ttyXRUSB0 /dev/gps0
return
fi