diff options
author | John Klug <john.klug@multitech.com> | 2019-02-19 12:55:50 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-07-03 11:22:01 -0500 |
commit | 7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2 (patch) | |
tree | bdc5525b2c053f6e0e5a1cf02d96434612b9035b /recipes-bsp/multitech | |
parent | bd282b9ca665b7cd7bb7269fb565634669ac5fc6 (diff) | |
download | meta-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')
-rw-r--r-- | recipes-bsp/multitech/mts-io.inc | 2 | ||||
-rw-r--r-- | recipes-bsp/multitech/mts-io/mts-io.init | 4 |
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 |