summaryrefslogtreecommitdiff
path: root/io-module
diff options
context:
space:
mode:
authorVyacheslav Pedash <vyacheslav.pedash@globallogic.com>2022-08-23 17:53:58 +0300
committerJohn Klug <john.klug@multitech.com>2022-09-23 12:36:04 -0500
commitd0d65409929f80dfefebd61d2286d489a3ad9422 (patch)
tree1d0df888a73dee01c68756740f4d92ebaa2fe5a6 /io-module
parente75da9b650f23e17b9442312d45321b8c0a86c23 (diff)
downloadmts-io-d0d65409929f80dfefebd61d2286d489a3ad9422.tar.gz
mts-io-d0d65409929f80dfefebd61d2286d489a3ad9422.tar.bz2
mts-io-d0d65409929f80dfefebd61d2286d489a3ad9422.zip
MTX-4571 MTCDT3AC: Fix log output
Diffstat (limited to 'io-module')
-rw-r--r--io-module/mts-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mts-io.c b/io-module/mts-io.c
index 27dbad2..59106a4 100644
--- a/io-module/mts-io.c
+++ b/io-module/mts-io.c
@@ -1328,7 +1328,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) || (mts_hw_version != MTCPM_0_1) || (mts_hw_version != MTCPM_0_2)) {
+ if ((mts_hw_version != MTCPM_0_0) && (mts_hw_version != MTCPM_0_1) && (mts_hw_version != MTCPM_0_2)) {
/* 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");