summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Bayer <bbayer@multitech.com>2016-11-08 10:57:36 -0600
committerBrandon Bayer <bbayer@multitech.com>2016-11-08 15:00:20 -0600
commita168317efc9d5d4f43d65796c40c03f8b1a67733 (patch)
treeb54b675d1eca773dfff56099e9e11a58cb830b2e
parent54166eeda071080cdcc053b6d7a50106b729e812 (diff)
downloadmts-io-bb.tar.gz
mts-io-bb.tar.bz2
mts-io-bb.zip
WIP: mtcap:fix: invert lora reset APIbb
-rw-r--r--io-module/mtcap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io-module/mtcap.c b/io-module/mtcap.c
index d86c5a6..0eeb067 100644
--- a/io-module/mtcap.c
+++ b/io-module/mtcap.c
@@ -44,10 +44,11 @@ static struct gpio_pin gpio_pins_mtcap_0_0[] = {
.name = "LORA_RESET",
.pin = {
.gpio = AT91_PIN_PA8, // LORA_RST
- .flags = GPIOF_OUT_INIT_LOW,
+ .flags = GPIOF_OUT_INIT_HIGH,
.label = "lora/reset",
},
.capability = CAPA_LORA,
+ .active_low = 1,
},
{ // gpio 1 for LORA 1.5 ref design
.name = "LORA_CDONE",