From a168317efc9d5d4f43d65796c40c03f8b1a67733 Mon Sep 17 00:00:00 2001 From: Brandon Bayer Date: Tue, 8 Nov 2016 10:57:36 -0600 Subject: WIP: mtcap:fix: invert lora reset API --- io-module/mtcap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- cgit v1.2.3