From d0d65409929f80dfefebd61d2286d489a3ad9422 Mon Sep 17 00:00:00 2001 From: Vyacheslav Pedash Date: Tue, 23 Aug 2022 17:53:58 +0300 Subject: MTX-4571 MTCDT3AC: Fix log output --- io-module/mts-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3