summaryrefslogtreecommitdiff
path: root/io-module/machine
diff options
context:
space:
mode:
authorAndrii Pientsov <andrii.pientsov@globallogic.com>2022-01-21 10:00:26 +0200
committerJohn Klug <john.klug@multitech.com>2022-02-16 16:12:24 -0600
commitd9ce6b6e66f44a844307719c6a67852b186b27a4 (patch)
tree7611a8f279775202f7fbdb2339cd1b901c4e668c /io-module/machine
parent1e8f15e4a6d38678f289b9557d9c665afb70df3f (diff)
downloadmts-io-d9ce6b6e66f44a844307719c6a67852b186b27a4.tar.gz
mts-io-d9ce6b6e66f44a844307719c6a67852b186b27a4.tar.bz2
mts-io-d9ce6b6e66f44a844307719c6a67852b186b27a4.zip
MTX-4356 mPower R.6.0.x: MTCAP3 - GP-1352, PP-477 : need --capa-lora-lbt for MTCAP3 in mts-id-eeprom
Diffstat (limited to 'io-module/machine')
-rw-r--r--io-module/machine/mtcap3.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/io-module/machine/mtcap3.c b/io-module/machine/mtcap3.c
index 8f6668f..5b2871a 100644
--- a/io-module/machine/mtcap3.c
+++ b/io-module/machine/mtcap3.c
@@ -80,7 +80,7 @@ static struct gpio_pin gpio_pins_mtcap3_0_0[] = {
.flags = GPIOF_OUT_INIT_LOW,
.label = "lora/lbt-reset",
},
- .capability = CAPA_LORA,
+ .capability = CAPA_LORA_LBT,
.active_low = 1,
},
/* LEDs */
@@ -466,10 +466,13 @@ static struct attribute *mtcap3_0_0_lora_attributes[] = {
&dev_attr_lora_product_id_mtcap3.attr,
&dev_attr_lora_hw_version_mtcap3.attr,
&dev_attr_lora_reset_mtcap3.attr,
- &dev_attr_lora_lbt_reset_mtcap3.attr,
NULL,
};
static struct attribute_group mtcap3_0_0_lora_attribute_group = {
.attrs = mtcap3_0_0_lora_attributes
};
+
+static struct attribute *mtcap3_0_0_lora_lbt_attributes[] = {
+ &dev_attr_lora_lbt_reset_mtcap3.attr,
+};