summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mtac_lora.c1
-rw-r--r--io-module/mts_io.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/io-module/mtac_lora.c b/io-module/mtac_lora.c
index a0907c8..a822ece 100644
--- a/io-module/mtac_lora.c
+++ b/io-module/mtac_lora.c
@@ -100,6 +100,7 @@ static bool lora_setup(enum ap port) {
if COMPARE_AND_ASSIGN(MTAC_LORA_0_0)
else if COMPARE_AND_ASSIGN(MTAC_LORA_1_0)
+ else if COMPARE_AND_ASSIGN(MTAC_LORA_1_1)
else if COMPARE_AND_ASSIGN(MTAC_LORA_1_5)
else {
log_error("Unknown hw-version in port %d", port);
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index ee3a5a1..e16fa88 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -56,6 +56,7 @@ struct device_attribute _dev_name = { \
#define HW_VERSION_MTAC_LORA_0_0 "MTAC-LORA-0.0"
/* MTAC-LORA2 with FTDI FT232H */
#define HW_VERSION_MTAC_LORA_1_0 "MTAC-LORA-1.0"
+#define HW_VERSION_MTAC_LORA_1_0 "MTAC-LORA-1.1"
#define HW_VERSION_MTAC_LORA_1_5 "MTAC-LORA-1.5"
#define HW_VERSION_MTCBA2_2_0 "MTCBA2-2.0"
@@ -86,6 +87,7 @@ enum {
MTAC_ETH_0_0,
MTAC_LORA_0_0,
MTAC_LORA_1_0,
+ MTAC_LORA_1_1,
MTAC_LORA_1_5,
};