diff options
author | Andrii Pientsov <andrii.pientsov@globallogic.com> | 2022-01-21 16:36:54 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-02-16 16:12:43 -0600 |
commit | 0fdc09373bf31169c7b58c10513d3dcfe82cf133 (patch) | |
tree | 3a3cbdb027db83a0bd96584ea056ab9cf3efa37d | |
parent | d9ce6b6e66f44a844307719c6a67852b186b27a4 (diff) | |
download | mts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.tar.gz mts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.tar.bz2 mts-io-0fdc09373bf31169c7b58c10513d3dcfe82cf133.zip |
MTX-4356 mPower R.6.0.x: MTCAP3 - GP-1352, PP-477 : need --capa-lora-lbt for MTCAP3 in mts-id-eeprom
-rw-r--r-- | io-module/mts-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c index f4cd136..167e3f0 100644 --- a/io-module/mts-io.c +++ b/io-module/mts-io.c @@ -1254,7 +1254,7 @@ mts_id_eeprom_load(void) log_info("capa-adc: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_ADC) ? "yes" : "no"); log_info("capa-wifi: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_WIFI) ? "yes" : "no"); log_info("capa-bluetooth: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_BLUETOOTH) ? "yes" : "no"); - if (!(mts_hw_version != MTCPM_0_0)) { + if ((mts_hw_version != MTCPM_0_0) || (mts_hw_version != MTCPM_0_1)) { /* Moved to mtcdt3b driver in MTCDT3 baseboard hardware */ log_info("capa-lora: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_LORA) ? "yes" : "no"); log_info("capa-lora-lbt: %s", DEVICE_CAPA(id_eeprom.capa, CAPA_LORA_LBT) ? "yes" : "no"); |