diff options
author | Brandon Bayer <bbayer@multitech.com> | 2016-11-08 10:57:36 -0600 |
---|---|---|
committer | Brandon Bayer <bbayer@multitech.com> | 2016-11-08 15:38:39 -0600 |
commit | c6e6cedcc992b077599cff29cbd8029776b64e20 (patch) | |
tree | b54b675d1eca773dfff56099e9e11a58cb830b2e /io-module | |
parent | 54166eeda071080cdcc053b6d7a50106b729e812 (diff) | |
download | mts-io-c6e6cedcc992b077599cff29cbd8029776b64e20.tar.gz mts-io-c6e6cedcc992b077599cff29cbd8029776b64e20.tar.bz2 mts-io-c6e6cedcc992b077599cff29cbd8029776b64e20.zip |
mtcap:fix: invert lora reset API
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mtcap.c | 3 |
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", |