From 7db017fc30fe3c0615c55a13ed606bc8d1b2e7e2 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 19 Feb 2019 12:55:50 -0600 Subject: Only MTRV1-0.0 of MTRV1 Uses /dev/ttyS1 --- recipes-bsp/multitech/mts-io/mts-io.init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'recipes-bsp/multitech/mts-io') 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 -- cgit v1.2.3