diff options
author | John Klug <john.klug@multitech.com> | 2017-03-07 09:31:39 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-03-07 09:31:39 -0600 |
commit | 811923103ba15145116d7e8e6bd6fe109120909c (patch) | |
tree | 58dc934c3a0cbed2df60978ce917d6718ca32fe6 | |
parent | e10164d49c24ba005d9f4fa05776a26e86c4570d (diff) | |
download | mts-io-811923103ba15145116d7e8e6bd6fe109120909c.tar.gz mts-io-811923103ba15145116d7e8e6bd6fe109120909c.tar.bz2 mts-io-811923103ba15145116d7e8e6bd6fe109120909c.zip |
Fix regression in Lora Reset, and remove bad comments
-rw-r--r-- | io-module/mtcap.c | 6 |
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, |