diff options
Diffstat (limited to 'recipes-bsp/multitech')
-rwxr-xr-x | recipes-bsp/multitech/mts-io/mts-io.init | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init index 98f3e4c..eee2635 100755 --- a/recipes-bsp/multitech/mts-io/mts-io.init +++ b/recipes-bsp/multitech/mts-io/mts-io.init @@ -30,7 +30,6 @@ hw="" hw_name="" MTAC_MODULES="" ((HASAP=0)) -((HASBB=0)) sethwtype() { # mts-io must be loaded before trying this @@ -44,18 +43,12 @@ sethwtype() { case $hw_name in MTCDTIPHP) ;; - MTCDT|MTCDTIP|MTCDT3) + MTCDT|MTCDTIP|MTCDT3|MTCDT3AC) if [[ $hw =~ MTCDT3-LORA16-0.0 ]] ; then return 0 fi ((HASAP = 1)) ;; - MTCDT3) - if [[ $hw =~ MTCDT3-LORA16-0.0 ]] ; then - return 0 - fi - ((HASBB = 1)) - ;; *) ;; esac @@ -208,7 +201,7 @@ read_card_info() { lora_hw=$(${SYSFS} show lora/hw-version 2> /dev/null) - if [[ $hw_name == MTCDT3 ]] ; then + if [[ $hw_name == MTCDT3 || $hw_name == MTCDT3AC ]] ; then # spidev module is not needed in MTCDT3. return 0 fi @@ -290,7 +283,7 @@ set_links() { echo "venus" >"$GPSCONFIGTYPE" return ;; - MTCDT3) + MTCDT3|MTCDT3AC) cpuhw=$(mts-io-sysfs show cpu/hw-version) case ${cpuhw} in MTCPM-0.0) |