From 4e4093079e3b454a89aae2e1699f63cfcc8cf928 Mon Sep 17 00:00:00 2001 From: John Klug Date: Thu, 5 Dec 2019 18:21:25 -0600 Subject: Set driver so reset is normally low --- configure.ac | 2 +- io-module/machine/mtcpm.c | 2 +- io-module/mts_io_module.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 97f3c09..10fe8f2 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([mts-io], [4.2.2]) +AC_INIT([mts-io], [4.2.3]) AC_CONFIG_SRCDIR([util/mts_util_lora2_reset.c]) AM_INIT_AUTOMAKE AM_CONFIG_HEADER([config.h]) diff --git a/io-module/machine/mtcpm.c b/io-module/machine/mtcpm.c index 7052b51..d80d1e5 100644 --- a/io-module/machine/mtcpm.c +++ b/io-module/machine/mtcpm.c @@ -33,7 +33,7 @@ static struct gpio_pin gpio_pins_mtcpm[] = { .flags = GPIOF_IN, .label = "reset", }, - .active_low = 0, + .active_low = 1, }, { .name = "WIFI_BT_INT", diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h index 5d333c6..9b37dad 100644 --- a/io-module/mts_io_module.h +++ b/io-module/mts_io_module.h @@ -5,7 +5,7 @@ * MTAC cards. */ -#define DRIVER_VERSION "v4.2.2" +#define DRIVER_VERSION "v4.2.3" #define DRIVER_AUTHOR "Multitech Systems" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" -- cgit v1.2.3