From 811923103ba15145116d7e8e6bd6fe109120909c Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 7 Mar 2017 09:31:39 -0600 Subject: Fix regression in Lora Reset, and remove bad comments --- io-module/mtcap.c | 6 +++--- 1 file 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, -- cgit v1.2.3