summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech
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-02-19 12:55:50 -0600
commit3a7fd900019573c776e41640a99bba3bacf09f74 (patch)
treebdc5525b2c053f6e0e5a1cf02d96434612b9035b /recipes-bsp/multitech
parent9c734a2476220e6e90056a9f463d7d6e8a04ac3a (diff)
downloadmeta-multitech-atmel-3a7fd900019573c776e41640a99bba3bacf09f74.tar.gz
meta-multitech-atmel-3a7fd900019573c776e41640a99bba3bacf09f74.tar.bz2
meta-multitech-atmel-3a7fd900019573c776e41640a99bba3bacf09f74.zip
Only MTRV1-0.0 of MTRV1 Uses /dev/ttyS1
Diffstat (limited to 'recipes-bsp/multitech')
-rw-r--r--recipes-bsp/multitech/mts-io.inc2
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init4
2 files changed, 4 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 8fe9e7b..df366cd 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19
file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
DEPENDS = "virtual/kernel"
-INC_PR = "r1"
+INC_PR = "r2"
SRCREV = "${PV}"
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