diff options
author | John Klug <john.klug@multitech.com> | 2018-11-02 14:44:56 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-11-02 14:44:56 -0500 |
commit | 398a2e7be8f90073a2dba4dda75ec2db1b770156 (patch) | |
tree | 2d0a614100794e7e4665f0f4bb812e258d65cf05 | |
parent | 4b3420a6f20f7c02e01259f1f696fe21957ceac5 (diff) | |
download | mtac-lora-398a2e7be8f90073a2dba4dda75ec2db1b770156.tar.gz mtac-lora-398a2e7be8f90073a2dba4dda75ec2db1b770156.tar.bz2 mtac-lora-398a2e7be8f90073a2dba4dda75ec2db1b770156.zip |
Fix up CRESET and CDONE for LoRa H1.1.2
-rw-r--r-- | mtac_lora.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mtac_lora.c b/mtac_lora.c index 74224d4..ce61874 100644 --- a/mtac_lora.c +++ b/mtac_lora.c @@ -1,4 +1,4 @@ -#define DRIVER_VERSION "v1.1.1" +#define DRIVER_VERSION "v1.1.2" #define DRIVER_AUTHOR "John Klug <john.klug@multitech.com>" #define DRIVER_DESC "MTS LoRa Accessory Card" #define DRIVER_NAME "mtac-lora" @@ -54,7 +54,6 @@ static struct gpio_pin gpio_pins_mtcdt_mtac_lora_1_5[] = { .flags = GPIOF_IN, .label = "ap1-cdone", }, - .active_low = 1, }, { .name = "AP1_CRESET", @@ -78,16 +77,15 @@ static struct gpio_pin gpio_pins_mtcdt_mtac_lora_1_5[] = { .name = "AP2_CDONE", .pin = { .gpio = AT91_PIN_PC20, - .flags = GPIOF_OUT_INIT_LOW, + .flags = GPIOF_IN, .label = "ap2-cdone", }, - .active_low = 1, }, { .name = "AP2_CRESET", .pin = { .gpio = AT91_PIN_PC21, - .flags = GPIOF_OUT_INIT_LOW, + .flags = GPIOF_OUT_INIT_HIGH, .label = "ap2-creset", } }, |