summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-09-07 08:57:28 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-07 08:57:28 -0500
commitf133877e95a786f511a074c820e169a595eec10b (patch)
treefb0ef7836a37ab1d2bc74f26cc28197f28b28fa1
parent7c991bb57b5201e35f422938a584af94582d9781 (diff)
downloadmts-io-f133877e95a786f511a074c820e169a595eec10b.tar.gz
mts-io-f133877e95a786f511a074c820e169a595eec10b.tar.bz2
mts-io-f133877e95a786f511a074c820e169a595eec10b.zip
Prevent MTCAP-0.0 being announced as MTCAP-0.1
-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 697852a..ebb1b22 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -860,7 +860,7 @@ mts_id_eeprom_load(void)
if (DEVICE_CAPA(id_eeprom.capa, CAPA_LORA)) {
attr_group_lora = &mtcap_0_0_lora_attribute_group;
}
- log_info("detected board %s", HW_VERSION_MTCAP_0_1);
+ log_info("detected board %s", tmp);
} else if (strncmp(id_eeprom.hw_version, HW_VERSION_MTR_0_0, strlen(HW_VERSION_MTR_0_0)) == 0) {
attr_group = &mtr_platform_attribute_group;
gpio_pins = gpio_pins_mtr_0_0;