summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-21 17:43:24 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-21 17:43:24 -0500
commit27a24df1a2c713b070559fc5404258d7b691c833 (patch)
tree7357ab8b89c9a630023740a9cd73474ee40d1a2d
parentc2722d5ee922f52b53d6cee37d89c43ae43063c5 (diff)
downloadmts-io-27a24df1a2c713b070559fc5404258d7b691c833.tar.gz
mts-io-27a24df1a2c713b070559fc5404258d7b691c833.tar.bz2
mts-io-27a24df1a2c713b070559fc5404258d7b691c833.zip
No pull up on the radio-power or radio-reset -- MTR code says open drain
-rw-r--r--io-module/mths.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/mths.c b/io-module/mths.c
index 18af942..b323e2b 100644
--- a/io-module/mths.c
+++ b/io-module/mths.c
@@ -12,7 +12,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = {
.name = "RADIO_RESET",
.pin = {
.gpio = AT91_PIN_PA22,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN,
.label = "radio-reset",
},
.active_low = 0,
@@ -21,7 +21,7 @@ static struct gpio_pin gpio_pins_mths_0_0[] = {
.name = "RADIO_POWER",
.pin = {
.gpio = AT91_PIN_PA21,
- .flags = GPIOF_OUT_INIT_HIGH | GPIOF_PULLUP,
+ .flags = GPIOF_OUT_INIT_HIGH | GPIOF_OPEN_DRAIN,
.label = "radio-power",
},
.active_low = 0,