aboutsummaryrefslogtreecommitdiffstats
path: root/src/linux/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/linux/gpio.c')
-rw-r--r--src/linux/gpio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/linux/gpio.c b/src/linux/gpio.c
index 15ed3bae..ccc66a7f 100644
--- a/src/linux/gpio.c
+++ b/src/linux/gpio.c
@@ -153,9 +153,6 @@ gpio_in_reset(struct gpio_in g, int8_t pull_up)
} else if (pull_up < 0) {
req.flags |= GPIOD_LINE_REQUEST_FLAG_BIAS_PULL_DOWN;
}
-#else
- if (pull_up)
- shutdown("Linux gpio interface does not support pullup/pulldown");
#endif
req.lineoffsets[0] = g.line->offset;
strncpy(req.consumer_label, GPIO_CONSUMER, sizeof(req.consumer_label) - 1);