summaryrefslogtreecommitdiff
path: root/io-module/mtcap.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-03-07 09:31:39 -0600
committerJohn Klug <john.klug@multitech.com>2017-03-07 09:31:39 -0600
commit811923103ba15145116d7e8e6bd6fe109120909c (patch)
tree58dc934c3a0cbed2df60978ce917d6718ca32fe6 /io-module/mtcap.c
parente10164d49c24ba005d9f4fa05776a26e86c4570d (diff)
downloadmts-io-811923103ba15145116d7e8e6bd6fe109120909c.tar.gz
mts-io-811923103ba15145116d7e8e6bd6fe109120909c.tar.bz2
mts-io-811923103ba15145116d7e8e6bd6fe109120909c.zip
Fix regression in Lora Reset, and remove bad comments
Diffstat (limited to 'io-module/mtcap.c')
-rw-r--r--io-module/mtcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io-module/mtcap.c b/io-module/mtcap.c
index 7c10cd0..c97822a 100644
--- a/io-module/mtcap.c
+++ b/io-module/mtcap.c
@@ -44,7 +44,7 @@ static struct gpio_pin gpio_pins_mtcap_0_0[] = {
.name = "LORA_RESET",
.pin = {
.gpio = AT91_PIN_PA8, // LORA_RST
- .flags = GPIOF_OUT_INIT_HIGH,
+ .flags = GPIOF_OUT_INIT_LOW,
.label = "lora/reset",
},
.capability = CAPA_LORA,
@@ -108,7 +108,7 @@ static struct gpio_pin gpio_pins_mtcap_0_0[] = {
.active_low = 1,
},
{
- .name = "WLAN_EN", // LED4 is for WiFi status
+ .name = "WLAN_EN",
.pin = {
.gpio = AT91_PIN_PA4,
.flags = GPIOF_OUT_INIT_HIGH,
@@ -116,7 +116,7 @@ static struct gpio_pin gpio_pins_mtcap_0_0[] = {
},
},
{
- .name = "WLAN_RST", // LED4 is for WiFi status
+ .name = "WLAN_RST",
.pin = {
.gpio = AT91_PIN_PA3,
.flags = GPIOF_OUT_INIT_HIGH,