summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io-module/mtac_lora.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/io-module/mtac_lora.c b/io-module/mtac_lora.c
index a822ece..0541f3d 100644
--- a/io-module/mtac_lora.c
+++ b/io-module/mtac_lora.c
@@ -100,7 +100,6 @@ 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);
@@ -109,7 +108,7 @@ static bool lora_setup(enum ap port) {
}
// add reset line attribute for MTAC_LORA_0_0
- if (lora_hw_version == MTAC_LORA_0_0) {
+ if ((lora_hw_version == MTAC_LORA_0_0) || (lora_hw_version == MTAC_LORA_1_0)) {
sprintf(buf, "reset");
attr = create_attribute(buf, MTS_ATTR_MODE_RW);
if (! attr) {